[Pick](query-cache) some query-cache bugfix (#47883)(#47961)(#51202)#51204
Merged
dataroaring merged 6 commits intoapache:branch-3.0from May 27, 2025
Merged
[Pick](query-cache) some query-cache bugfix (#47883)(#47961)(#51202)#51204dataroaring merged 6 commits intoapache:branch-3.0from
dataroaring merged 6 commits intoapache:branch-3.0from
Conversation
the plan: ``` QUERY_CACHE: | | CACHE_NODE_ID: 2 | | DIGEST: 557413bec3209f50fd640eb3b0534c12ccd9df35f9d4c86620416936985e2679 | | | | STREAM DATA SINK | | EXCHANGE ID: 03 | | UNPARTITIONED | | | | 2:VAGGREGATE (merge finalize)(273) | | | output: min(partial_min(pk)[apache#6])[apache#9], max(partial_max(pk)[apache#7])[apache#10] | | | group by: pk[apache#5] | | | sortByGroupKey:false | | | cardinality=0 | | | final projections: field1[apache#9], field2[apache#10], pk[apache#8] | | | final project output tuple id: 4 | | | distribute expr lists: pk[apache#5] | | | | | 1:VAGGREGATE (update serialize)(268) | | | output: partial_min(pk[apache#4])[apache#6], partial_max(pk[apache#4])[apache#7] | | | group by: pk[apache#4] | | | sortByGroupKey:false | | | cardinality=0 | | | distribute expr lists: pk[apache#4] | | | ``` FE choose the id agg 2, but BE still use id agg 1. BE should support the case (cherry picked from commit c58fc18)
…7961) the origin judge may cause the need reorder judge error: ``` bool need_reorder = _slot_orders.size() != hit_cache_slot_orders->size(); if (!need_reorder) { for (int i = 0; i < _slot_orders.size(); ++i) { need_reorder = _slot_orders[i] != (*hit_cache_slot_orders)[i]; } } ``` (cherry picked from commit e9a34e4)
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
Author
|
run buildall |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 39533 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-DS: Total hot run time: 197150 ms |
ClickBench: Total hot run time: 30.26 s |
Contributor
Author
|
run buildall |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cherry pick from #47883, #47961, #51202