[feature](Nereids): Optimize Query Plan by Pulling Up Join with Common Child from Union#42033
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 41265 ms |
TPC-DS: Total hot run time: 191957 ms |
ClickBench: Total hot run time: 32.08 s |
|
run buildall |
TPC-H: Total hot run time: 41150 ms |
TPC-DS: Total hot run time: 191386 ms |
ClickBench: Total hot run time: 32.05 s |
|
run buildall |
TPC-H: Total hot run time: 41209 ms |
TPC-DS: Total hot run time: 192071 ms |
ClickBench: Total hot run time: 33.07 s |
ff4d939 to
3e5dd4e
Compare
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 41333 ms |
TPC-DS: Total hot run time: 191734 ms |
ClickBench: Total hot run time: 32.98 s |
| ----------------PhysicalDistribute[DistributionSpecExecutionAny] | ||
| ------------------PhysicalProject | ||
| --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF9 d_date_sk->[ss_sold_date_sk] | ||
| --------------hashJoin[INNER_JOIN broadcast] hashCondition=((ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF9 d_date_sk->[cs_sold_date_sk,ss_sold_date_sk,ws_sold_date_sk] |
There was a problem hiding this comment.
14/71/76 better to measure its real performance impact.
There was a problem hiding this comment.
tpcds1000:query4:before 6.27s after 6.09s, query71: before:1.09s after:1.14s,query76:before 7.59 afert8.07
Average time of six executions。
5d3080a to
746fa5a
Compare
|
run buildall |
TPC-H: Total hot run time: 41467 ms |
TPC-DS: Total hot run time: 192659 ms |
ClickBench: Total hot run time: 32.67 s |
| topDown( | ||
| new PullUpJoinFromUnionAll() | ||
| ), | ||
| custom(RuleType.COLUMN_PRUNING, ColumnPruning::new), |
There was a problem hiding this comment.
make sure the new rule sets can replace the original one's column pruning functionality.
TPC-DS: Total hot run time: 192249 ms |
ClickBench: Total hot run time: 32.28 s |
7402e07 to
f3283bb
Compare
f3283bb to
fb40e30
Compare
|
run buildall |
TPC-H: Total hot run time: 41565 ms |
TPC-DS: Total hot run time: 197365 ms |
ClickBench: Total hot run time: 32.1 s |
|
PR approved by at least one committer and no changes requested. |
…n Child from Union (apache#42033) This pr adds rewrite rule PullUpJoinFromUnion, supports pull up join from union all separately, separates this rule from apache#28682, deletes the original PullUpJoinFromUnionAll rule.
…n Child from Union (apache#42033) This pr adds rewrite rule PullUpJoinFromUnion, supports pull up join from union all separately, separates this rule from apache#28682, deletes the original PullUpJoinFromUnionAll rule.
This pr adds rewrite rule PullUpJoinFromUnion, supports pull up join from union all separately, separates this rule from #28682, deletes the original PullUpJoinFromUnionAll rule.