-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
planner: support push part of order property down to the partition table #36108
Merged
Merged
Changes from 11 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7c9e327
planner: support push part of order property down to the partition table
winoros 3993e00
planner: support push part of order property to partition table
winoros 3106166
fix fmt
winoros 2c08dde
add tests
winoros 39bca97
Merge branch 'master' into part-table-topn
hawkingrei 896a4e0
Merge branch 'master' into part-table-topn
winoros 9f57b9c
address comments
winoros 6ccdc30
Merge remote-tracking branch 'yiding/part-table-topn' into part-table…
winoros 423f599
add tests
winoros f940c71
make sure that the request is sent first by partition then by region
winoros 2bc49ff
fix make check
winoros af0cf54
Merge branch 'master' into part-table-topn
winoros 0575b4c
fix lint
winoros 5006949
Merge branch 'master' into part-table-topn
winoros 027eca6
fix tests
winoros 4b00f0a
Merge remote-tracking branch 'yiding/part-table-topn' into part-table…
winoros 174254c
Merge branch 'master' into part-table-topn
winoros 27324cb
fix test
winoros bdf9854
Merge branch 'master' into part-table-topn
winoros 51853c7
fix
winoros e9da563
Merge branch 'master' into part-table-topn
winoros 921e702
wrap the ranges
winoros 7a60b86
rename and cleanup
winoros 09fb930
pass static check
winoros e1b4211
fix tiny error
winoros e285406
Merge branch 'master' into part-table-topn
winoros 953273f
address comments
winoros 6b0699f
Merge branch 'master' into part-table-topn
ti-chi-bot 2794d3e
Merge branch 'master' into part-table-topn
ti-chi-bot 1d38fcc
Merge branch 'master' into part-table-topn
ti-chi-bot 743265c
Merge branch 'master' into part-table-topn
ti-chi-bot 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
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.
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.
UnionScan / TemporaryTable / SelectForUpdateLock maybe depend on the key range ...
If for partition table, it's changed to use
KeyRangesWithPartition
, I'm not sure will this break something.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.
The union scan didn't rely on the
KVRequest.KeyRanges
directly, I'm trying to make the changes safer.