-
Notifications
You must be signed in to change notification settings - Fork 1.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
[BugFix] fix list partition multi values' probelm #51036
Conversation
Quality Gate passedIssues Measures |
34f030f
to
14cf422
Compare
Signed-off-by: before-Sunrise <[email protected]>
14cf422
to
82a06ea
Compare
Quality Gate passedIssues Measures |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 6 / 7 (85.71%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
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.
Good. We may add a TODO
to support multi-value partition pruing.
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: before-Sunrise <[email protected]> (cherry picked from commit f3ba5b8)
Signed-off-by: before-Sunrise <[email protected]> (cherry picked from commit f3ba5b8) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/sql/plan/PartitionPruneTest.java
…52571) Co-authored-by: before-Sunrise <[email protected]>
…52677) Signed-off-by: before-Sunrise <[email protected]>
Signed-off-by: before-Sunrise <[email protected]> Signed-off-by: zhiminr.ren <[email protected]>
#51036) (#52942) Signed-off-by: before-Sunrise <[email protected]>
#51036) (#52941) Signed-off-by: before-Sunrise <[email protected]>
#51036) (#52937) Signed-off-by: before-Sunrise <[email protected]>
Why I'm doing:
if one partition column has multi values for one partition, like "PARTITION pCalifornia VALUES IN ("Los Angeles","San Francisco","San Diego")", then predicate like "city not in "Los Angeles" " can not be used to prune the whole partition.
What I'm doing:
Right now we don't support multi values partition's partition prune, so just forbid it for "not in" for the correctness of query.
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: