-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Range Query Optimization (For sequential Vindex types) #17342
Open
c-r-dev
wants to merge
14
commits into
vitessio:main
Choose a base branch
from
c-r-dev:query-serving_range_query
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0913563
added a new between vindex interface
c-r-dev 40d041f
renamed between interface to sequential and incorporated other review…
c-r-dev 99ea8b5
planBetweenOp to check if vindex is of Sequential type
c-r-dev e8593a8
added plan_test for between clause (and cleaned up unused example sch…
c-r-dev 5a7c8f1
modified test cases and reused existing test schema user
c-r-dev 8a0ded0
added early checks while evaluating matching multicolumnvindex (simil…
c-r-dev 0697cb0
add missing Cost for RoutOpCode Between and corresponding test case )
c-r-dev d2590a8
Merge branch 'vitessio:main' into query-serving_range_query
c-r-dev f4a578c
added end-to-end testcase support for filter_cases
c-r-dev a46a8ab
Merge branch 'vitessio:main' into query-serving_range_query
c-r-dev b99ebab
restored existing filter_cases test cases
c-r-dev 1400fea
added sample test data for filter_cases e2e testing
c-r-dev c61cd52
Merge branch 'vitessio:main' into query-serving_range_query
c-r-dev 1c8e8d7
Merge branch 'vitessio:main' into query-serving_range_query
c-r-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice set of planner tests. could you add at least one test where the values in the between are not literal values, but instead columns from another table. something like:
it'd be good to make sure that this also works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for suggesting this , added a test case now 0697cb0 , and also fixed missing Cost for
RoutOpCode.Between
.