-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: remove useless predicates after partition pruning #24282
Conversation
@zhuo-zhi Ping, is this PR ready for review? |
Still some unit test cases to add. Maybe later on today. |
There might be other non-equal predicates lying on the boundary of range partitions that can be pruned out as well. eg:
We can leave this for future development. |
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.
others lgtm
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 with more unit tests
/merge |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
/run-all-tests This bot automatically retries jobs that failed on can merge PRs (send feedback to hi-rustin). Silence the bot with the |
@zhuo-zhi: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Please follow PR Title Format:
Or if the count of mainly changed packages are more than 3, use
|
1 similar comment
Please follow PR Title Format:
Or if the count of mainly changed packages are more than 3, use
|
What problem does this PR solve?
Issue Number: close #22079
Problem Summary:
remove useless predicates after partition pruning
What is changed and how it works?
What's Changed:
Add pruning rules to remove useless predicates after partition pruning.
How it Works:
If predicates lie on the boundary of some partitions, we can add some rules to remove these predicates after partition pruning.
Related changes
Check List
Tests
Side effects
Release note