joao-r-reis commented on issue #1445: URL: https://github.com/apache/cassandra-gocql-driver/issues/1445#issuecomment-2607733306
This looks related to https://github.com/apache/cassandra-gocql-driver/issues/1447 https://github.com/apache/cassandra-gocql-driver/pull/1508 https://github.com/apache/cassandra-gocql-driver/issues/1511 https://github.com/apache/cassandra-gocql-driver/issues/1229 There's currently [an open PR](https://github.com/apache/cassandra-gocql-driver/pull/1848) to change the Query/Batch API so that Query and Batch objects can be reused but I think this has a bit of a different scope to this current issue (#1445). As far as I understand there shouldn't be a bug with the current paging implementation, I think the issue here is that you're creating a new `Iter` object without setting the paging state (as you mentioned). If you see the example on the documentation, the paging state is stored on a variable and set when creating a new `Iter` object on the next iteration of the `for` loop: https://pkg.go.dev/github.com/gocql/gocql#example-package-Paging -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
