Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginated results not working #326

Open
man8pr opened this issue Jun 26, 2024 · 0 comments
Open

Paginated results not working #326

man8pr opened this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@man8pr
Copy link

man8pr commented Jun 26, 2024

What happened?

When requesting paginated results with a QueryJob, the returned results include more than the maximum number of rows:
e.g.

var paginatedResults = queryJob.getQueryResults(QueryResultsOption.pageSize(4));

paginatedResults can include more than 4 rows with the emulator.

What did you expect to happen?

The expectations is that setting the pageSize, the returned results contains that specific maximum number of rows:

How can we reproduce it (as minimally and precisely as possible)?

By setting the pageSize in the getQueryResults method of QueryJob:

var paginatedResults = queryJob.getQueryResults(QueryResultsOption.pageSize(4));

Anything else we need to know?

No response

@man8pr man8pr added the bug Something isn't working label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant