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

Start setting up flightsql pagination #163

Conversation

matthewmturner
Copy link
Collaborator

@matthewmturner matthewmturner commented Sep 29, 2024

This adds basic pagination for FlightSQL. Only basic because for this initial implementation it only paginates over records in a record batch. It does not yet handle paginating over multiple record batches. The structure is in place for that (with take_record_batches but implementation details need to be figured out.

// }
}

fn get_current_page_result_batch(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think I'm just going to create a function take_record_batches

@matthewmturner matthewmturner linked an issue Oct 5, 2024 that may be closed by this pull request
@matthewmturner matthewmturner marked this pull request as ready for review October 5, 2024 00:51
@matthewmturner matthewmturner merged commit a293817 into datafusion-contrib:main Oct 5, 2024
4 checks passed
@matthewmturner matthewmturner linked an issue Oct 5, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Querys that return large # of results can freeze / crash the app Add loading indicator
1 participant