-
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 partition prune for str2date materialized views with in predicate #35001
[BugFix] Fix partition prune for str2date materialized views with in predicate #35001
Conversation
Signed-off-by: shuming.li <ming.moriarty@gmail.com>
Kudos, SonarCloud Quality Gate passed!
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 25 / 28 (89.29%) file detail
|
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
✅ Backports have been created
|
✅ Backports have been created
|
…predicate (StarRocks#35001) Signed-off-by: shuming.li <ming.moriarty@gmail.com>
…predicate (StarRocks#35001) Signed-off-by: shuming.li <ming.moriarty@gmail.com>
Why I'm doing:
Query with partitioned mv which is created by
str2date
will return wrong result when it meetsin-predicates
.This is because the mv has a string date type partition column and a date type partition key which may be not handled in partition pruner.
What I'm doing:
inPredicate
optimization.inPredicate
optimization when the partition filter does not contain lower-bound and upper-bound.Fixes #issue
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: