-
Notifications
You must be signed in to change notification settings - Fork 420
Storages: introduce trim min-max index for DATE/DATETIME/TIMESTAMP rough set filtering #10982
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
Merged
ti-chi-bot
merged 20 commits into
pingcap:feature/release-8.5-materialized-view
from
JaySon-Huang:jayson/trim_datetime_minmax_index_mv
Jul 21, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d1843e1
Add tuned proposal
JaySon-Huang 63f3c25
Implement Phase A of trim min-max index format and compatibility.
JaySon-Huang 13b319d
Implement Phase B write path for trim min-max index.
JaySon-Huang ec2acb3
Implement Phase C query-domain and trim read path.
JaySon-Huang 7d70c1c
Fix trim index selection to require per-predicate eligibility.
JaySon-Huang e6cfdbc
Fix empty DateRange and unparseable temporal bound handling.
JaySon-Huang c1f3ebd
Use stack instead of recursive call
JaySon-Huang 99b9016
Cleanup useless settings and format codes
JaySon-Huang b0cfecc
Add o11y metrics
JaySon-Huang c637776
Add correctness checks
JaySon-Huang 4a03a09
Fix Equal/In null deref when Attr.type is missing.
JaySon-Huang 7927384
Do not use trim index for NOT prediction
JaySon-Huang 96243ed
Expand trim validation tests and clarify MergedSubFileInfo hard-fail …
JaySon-Huang 13b3994
Strengthen trim RSResult correction matrix coverage.
JaySon-Huang 40f8ef8
Add trim must-fall-back shape and eligibility tests.
JaySon-Huang def5238
Fix flaky trim validation tests for nullable packs and CAST.
JaySon-Huang 28142e9
Format codes
JaySon-Huang 36d92ba
Use 2099-12-01 as trim min-max upper bound
JaySon-Huang 3782282
Apply suggestion
JaySon-Huang ed2eb49
test: cover dropped table schema sync race (#10924)
JaySon-Huang 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Enabled by default?
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.
Yes. Set default to true for this feature branch after discussed with @windtalker so that user don't need to add extra param when doing POC using this branch.