-
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 to_bitmap statistics calculator #29961
[BugFix] fix to_bitmap statistics calculator #29961
Conversation
Signed-off-by: ABingHuang <codekhuang@163.com>
72fe5dd
to
0c47cbb
Compare
Merge queue setting changed
Kudos, SonarCloud Quality Gate passed!
|
[FE Incremental Coverage Report]😍 pass : 4 / 4 (100.00%) file detail
|
[BE Incremental Coverage Report]😍 pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
@Mergifyio backport branch-2.5 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit b6131a7) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit b6131a7) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java # test/sql/test_materialized_view/R/test_materialized_view_force_rewrite # test/sql/test_materialized_view/T/test_materialized_view_force_rewrite
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit b6131a7) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com>
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com>
* fix to_bitmap statistics calculator Signed-off-by: ABingHuang <codekhuang@163.com>
Fixes #29958
Fix to_bitmap function statistics calculation bug, which will lead to invalid cost and choose the wrong plan.
Fix it by modifing the average size of statistics after to_bitmap.
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: