-
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 query_excluding_mv_names and query_including_mv_names bugs #34873
[BugFix] fix query_excluding_mv_names and query_including_mv_names bugs #34873
Conversation
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MaterializedViewOptimizer.java
Show resolved
Hide resolved
ab6a56b
to
b637e01
Compare
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvPlanContextBuilder.java
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvRewritePreprocessor.java
Show resolved
Hide resolved
1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com>
b637e01
to
5f0aec5
Compare
Kudos, SonarCloud Quality Gate passed!
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 15 / 15 (100.00%) file detail
|
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
✅ Backports have been created
|
@Mergifyio backport branch-3.0 |
✅ Backports have been created
|
✅ Backports have been created
|
…gs (#34873) 1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 536efe4) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvPlanContextBuilder.java
…gs (#34873) 1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 536efe4) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvPlanContextBuilder.java # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvRewritePreprocessor.java
…gs (#34873) 1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 536efe4) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvPlanContextBuilder.java # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/MvRewritePreprocessor.java # fe/fe-core/src/test/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MvRewriteTest.java
…gs (StarRocks#34873) 1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com>
…gs (StarRocks#34873) 1. when query_including_mv_names is not set, should consider all related mvs 2. add trim for mv names for better usability Signed-off-by: ABingHuang <codekhuang@163.com>
Fix #34867
Why I'm doing:
What I'm doing:
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: