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

[BUG] Driver handles incorrectly empty paging responses #62

Open
Yury-Fridlyand opened this issue Mar 24, 2023 · 0 comments
Open

[BUG] Driver handles incorrectly empty paging responses #62

Yury-Fridlyand opened this issue Mar 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Yury-Fridlyand
Copy link
Collaborator

What is the bug?

Driver handles incorrectly empty paging responses
Driver stops paging the cursor if response is empty. Criteria to stop paging is no cursor returned.

How can one reproduce the bug?

Check out and build SQL plugin from branch dev-pagination-v2_revE @ 163093cb76
Run query

select * from <table> limit 5, 5;

with page size (fetch_size) = 2. The tricky part is to have fetch_size less than offset.

Driver returns an empty result set.

What is the expected behavior?

Driver should scroll the cursor until received response has no cursor.

What is your host/environment?

1.2.0.0 from maven

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

2 participants