-
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
*: split index region with lower upper syntax #10409
Merged
Merged
Changes from 19 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e67ecf4
*: split index region with min max num syntax
crazycs520 cbdb504
Merge branch 'master' into split_index_step
crazycs520 bd39a3b
refine code
crazycs520 4b7b306
Merge branch 'split_index_step' of https://github.com/crazycs520/tidb…
crazycs520 1072642
Merge branch 'master' into split_index_step
crazycs520 4fa0832
Merge branch 'master' into split_index_step
crazycs520 ab3417e
Merge branch 'master' into split_index_step
crazycs520 5b5f871
update go.mod for parsre
crazycs520 553c9be
update go.mod for parsre
crazycs520 cdb0e6e
refactor code
crazycs520 92fe00e
Merge branch 'master' into split_index_step
zyguan 5033512
Merge branch 'master' of https://github.com/pingcap/tidb into split_i…
crazycs520 c5334ff
Merge branch 'split_index_step' of https://github.com/crazycs520/tidb…
crazycs520 3668f80
add comment
crazycs520 2558457
refine code
crazycs520 078b8f4
address comment
crazycs520 208a15f
refine code
crazycs520 ad2af9f
Address comment
crazycs520 90d5bef
address comment
crazycs520 f54c7f1
use between and regions syntax
crazycs520 ccf2e8e
fix region num 0 bug and add test
crazycs520 6ec298f
use lower and upper instead of min/max
crazycs520 84d4240
Merge branch 'master' into split_index_step
crazycs520 ffbe922
refine error msg
crazycs520 289dbb3
refine code
crazycs520 ab2c03d
address comment
crazycs520 ccb183b
update go.mod for parsre
crazycs520 ac519e7
Merge branch 'master' into split_index_step
crazycs520 5cdbbf1
fix ci
crazycs520 97a4610
Merge branch 'split_index_step' of https://github.com/crazycs520/tidb…
crazycs520 95ec64b
address comment
crazycs520 a2037dd
add comment and fix test
crazycs520 1d1a2d7
Merge branch 'master' into split_index_step
crazycs520 e5ba5b6
address comment
crazycs520 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
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.
It's so weird that there's no builtin
min
function for integers in Go.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.
done. I have used mathutil pkg.