An error is returned when using iterator.Pager
and the pageSize
is not exactly the number of records that can be retrieved by the query.
#383
Labels
bug
Something isn't working
What happened?
I was trying to implement pagination using
iterator.Pager
.During the process, when I ran the query against
bigquery-emulator
with apageSize
other than the exact number of rows retrievable by the query, the following error occurred.On the other hand, I confirmed that when the
pageSize
was set to exactly the number of rows retrievable by the query, the rows could be successfully retrieved.What did you expect to happen?
Even if the
pageSize
is not set to exactly the number of rows retrievable by the query, no error occurs, and the specified number of rows can be retrieved.How can we reproduce it (as minimally and precisely as possible)?
go version: 1.23.5
bigquery-emulator version: v0.6.6
※ The following code is intended to confirm that the expected process fails. Additionally, when the BigQuery client was switched to the real BigQuery service, it was confirmed that the expected behavior occurred.
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: