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

[query] Fix offset fetching too much data #2260

Merged
merged 2 commits into from
Apr 9, 2020

Conversation

arnikola
Copy link
Collaborator

@arnikola arnikola commented Apr 9, 2020

The offset was applied to series start twice; once in physical plan (removed here), then again on query execution. What this did was fetch the range [ start-offset*2-end-offset ] rather than [ start-offset-end-offset ]

The data would then be removed before values are returned, but this may cause a lot of additional data with large offsets

@arnikola arnikola force-pushed the arnikola/fix-double-offset branch from 6137643 to d6189f2 Compare April 9, 2020 14:27
Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

LGTM

@arnikola arnikola merged commit 882ecb1 into master Apr 9, 2020
@arnikola arnikola deleted the arnikola/fix-double-offset branch April 9, 2020 19:08
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