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

fix: handle LIMIT ALL queries using sentinel value in FetchRel::count #252

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

vbarua
Copy link
Member

@vbarua vbarua commented Apr 26, 2024

FetchRels with no count set could not be distinguished from FetchRels
with count set to 0.

To account for this, the spec now uses -1 as a sentinel value for this.

feat: new limit and offset methods on SubstraitBuilder

vbarua added 2 commits April 26, 2024 10:11
FetchRels with no count set could not be distinguished from FetchRels
with count set to 0.

To account for this, the spec now uses -1 as a sentinel value for this.
@vbarua vbarua changed the title fix: handle LIMIT ALL queries using a sentinel value in FetchRel::count fix: handle LIMIT ALL queries using sentinel value in FetchRel::count Apr 26, 2024
@vbarua
Copy link
Member Author

vbarua commented Apr 26, 2024

This work is based on changes introduced in substrait-io/substrait#627

@vbarua vbarua merged commit b334e1d into main Apr 26, 2024
8 checks passed
@vbarua vbarua deleted the vbarua/handle-fetchrel-with-sentinel-value branch April 26, 2024 21:36
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.

2 participants