|
251 | 251 | | └─LogicalAgg { group_key: [part.p_partkey], aggs: [min(partsupp.ps_supplycost)] }
|
252 | 252 | | └─LogicalJoin { type: LeftOuter, on: IsNotDistinctFrom(part.p_partkey, partsupp.ps_partkey), output: [part.p_partkey, partsupp.ps_supplycost] }
|
253 | 253 | | ├─LogicalAgg { group_key: [part.p_partkey], aggs: [] }
|
254 |
| - | | └─LogicalScan { table: part, columns: [part.p_partkey] } |
| 254 | + | | └─LogicalScan { table: part, output_columns: [part.p_partkey], required_columns: [p_partkey, p_type, p_size], predicate: (part.p_size = 4:Int32) AND Like(part.p_type, '%TIN':Varchar) } |
255 | 255 | | └─LogicalJoin { type: Inner, on: (nation.n_regionkey = region.r_regionkey), output: [partsupp.ps_partkey, partsupp.ps_supplycost] }
|
256 | 256 | | ├─LogicalJoin { type: Inner, on: (supplier.s_nationkey = nation.n_nationkey), output: [partsupp.ps_partkey, partsupp.ps_supplycost, nation.n_regionkey] }
|
257 | 257 | | | ├─LogicalJoin { type: Inner, on: (supplier.s_suppkey = partsupp.ps_suppkey), output: [partsupp.ps_partkey, partsupp.ps_supplycost, supplier.s_nationkey] }
|
|
287 | 287 | | └─BatchHashJoin { type: LeftOuter, predicate: part.p_partkey IS NOT DISTINCT FROM partsupp.ps_partkey, output: [part.p_partkey, partsupp.ps_supplycost] }
|
288 | 288 | | ├─BatchExchange { order: [], dist: HashShard(part.p_partkey) }
|
289 | 289 | | | └─BatchSortAgg { group_key: [part.p_partkey], aggs: [] }
|
290 |
| - | | └─BatchScan { table: part, columns: [part.p_partkey], distribution: UpstreamHashShard(part.p_partkey) } |
| 290 | + | | └─BatchProject { exprs: [part.p_partkey] } |
| 291 | + | | └─BatchFilter { predicate: (part.p_size = 4:Int32) AND Like(part.p_type, '%TIN':Varchar) } |
| 292 | + | | └─BatchScan { table: part, columns: [part.p_partkey, part.p_type, part.p_size], distribution: UpstreamHashShard(part.p_partkey) } |
291 | 293 | | └─BatchExchange { order: [], dist: HashShard(partsupp.ps_partkey) }
|
292 | 294 | | └─BatchHashJoin { type: Inner, predicate: nation.n_regionkey = region.r_regionkey, output: [partsupp.ps_partkey, partsupp.ps_supplycost] }
|
293 | 295 | | ├─BatchExchange { order: [], dist: HashShard(nation.n_regionkey) }
|
|
341 | 343 | | ├─StreamExchange { dist: HashShard(part.p_partkey) }
|
342 | 344 | | | └─StreamProject { exprs: [part.p_partkey] }
|
343 | 345 | | | └─StreamHashAgg { group_key: [part.p_partkey], aggs: [count] }
|
344 |
| - | | └─StreamTableScan { table: part, columns: [part.p_partkey], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
| 346 | + | | └─StreamProject { exprs: [part.p_partkey] } |
| 347 | + | | └─StreamFilter { predicate: (part.p_size = 4:Int32) AND Like(part.p_type, '%TIN':Varchar) } |
| 348 | + | | └─StreamTableScan { table: part, columns: [part.p_partkey, part.p_type, part.p_size], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
345 | 349 | | └─StreamExchange { dist: HashShard(partsupp.ps_partkey) }
|
346 | 350 | | └─StreamHashJoin { type: Inner, predicate: nation.n_regionkey = region.r_regionkey, output: [partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_suppkey, supplier.s_suppkey, nation.n_nationkey, supplier.s_nationkey, nation.n_regionkey, region.r_regionkey] }
|
347 | 351 | | ├─StreamExchange { dist: HashShard(nation.n_regionkey) }
|
|
437 | 441 | StreamProject { exprs: [part.p_partkey] }
|
438 | 442 | StreamHashAgg { group_key: [part.p_partkey], aggs: [count] }
|
439 | 443 | result table: 28, state tables: []
|
440 |
| - Chain { table: part, columns: [part.p_partkey], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
441 |
| - Upstream |
442 |
| - BatchPlanNode |
| 444 | + StreamProject { exprs: [part.p_partkey] } |
| 445 | + StreamFilter { predicate: (part.p_size = 4:Int32) AND Like(part.p_type, '%TIN':Varchar) } |
| 446 | + Chain { table: part, columns: [part.p_partkey, part.p_type, part.p_size], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
| 447 | + Upstream |
| 448 | + BatchPlanNode |
443 | 449 |
|
444 | 450 | Fragment 11
|
445 | 451 | StreamHashJoin { type: Inner, predicate: nation.n_regionkey = region.r_regionkey, output: [partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_suppkey, supplier.s_suppkey, nation.n_nationkey, supplier.s_nationkey, nation.n_regionkey, region.r_regionkey] }
|
|
2907 | 2913 | └─LogicalAgg { group_key: [part.p_partkey], aggs: [sum(lineitem.l_quantity), count(lineitem.l_quantity)] }
|
2908 | 2914 | └─LogicalJoin { type: LeftOuter, on: IsNotDistinctFrom(part.p_partkey, lineitem.l_partkey), output: [part.p_partkey, lineitem.l_quantity] }
|
2909 | 2915 | ├─LogicalAgg { group_key: [part.p_partkey], aggs: [] }
|
2910 |
| - | └─LogicalScan { table: part, columns: [part.p_partkey] } |
| 2916 | + | └─LogicalScan { table: part, output_columns: [part.p_partkey], required_columns: [p_partkey, p_brand, p_container], predicate: (part.p_brand = 'Brand#13':Varchar) AND (part.p_container = 'JUMBO PKG':Varchar) } |
2911 | 2917 | └─LogicalScan { table: lineitem, output_columns: [lineitem.l_partkey, lineitem.l_quantity], required_columns: [l_partkey, l_quantity], predicate: IsNotNull(lineitem.l_partkey) }
|
2912 | 2918 | batch_plan: |
|
2913 | 2919 | BatchProject { exprs: [RoundDigit((sum(sum(lineitem.l_extendedprice)) / 7.0:Decimal), 16:Int32)] }
|
|
2930 | 2936 | └─BatchHashJoin { type: LeftOuter, predicate: part.p_partkey IS NOT DISTINCT FROM lineitem.l_partkey, output: [part.p_partkey, lineitem.l_quantity] }
|
2931 | 2937 | ├─BatchExchange { order: [], dist: HashShard(part.p_partkey) }
|
2932 | 2938 | | └─BatchSortAgg { group_key: [part.p_partkey], aggs: [] }
|
2933 |
| - | └─BatchScan { table: part, columns: [part.p_partkey], distribution: UpstreamHashShard(part.p_partkey) } |
| 2939 | + | └─BatchProject { exprs: [part.p_partkey] } |
| 2940 | + | └─BatchFilter { predicate: (part.p_brand = 'Brand#13':Varchar) AND (part.p_container = 'JUMBO PKG':Varchar) } |
| 2941 | + | └─BatchScan { table: part, columns: [part.p_partkey, part.p_brand, part.p_container], distribution: UpstreamHashShard(part.p_partkey) } |
2934 | 2942 | └─BatchExchange { order: [], dist: HashShard(lineitem.l_partkey) }
|
2935 | 2943 | └─BatchFilter { predicate: IsNotNull(lineitem.l_partkey) }
|
2936 | 2944 | └─BatchScan { table: lineitem, columns: [lineitem.l_partkey, lineitem.l_quantity], distribution: SomeShard }
|
|
2957 | 2965 | ├─StreamExchange { dist: HashShard(part.p_partkey) }
|
2958 | 2966 | | └─StreamProject { exprs: [part.p_partkey] }
|
2959 | 2967 | | └─StreamHashAgg { group_key: [part.p_partkey], aggs: [count] }
|
2960 |
| - | └─StreamTableScan { table: part, columns: [part.p_partkey], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
| 2968 | + | └─StreamProject { exprs: [part.p_partkey] } |
| 2969 | + | └─StreamFilter { predicate: (part.p_brand = 'Brand#13':Varchar) AND (part.p_container = 'JUMBO PKG':Varchar) } |
| 2970 | + | └─StreamTableScan { table: part, columns: [part.p_partkey, part.p_brand, part.p_container], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
2961 | 2971 | └─StreamExchange { dist: HashShard(lineitem.l_partkey) }
|
2962 | 2972 | └─StreamFilter { predicate: IsNotNull(lineitem.l_partkey) }
|
2963 | 2973 | └─StreamTableScan { table: lineitem, columns: [lineitem.l_partkey, lineitem.l_quantity, lineitem.l_orderkey, lineitem.l_linenumber], pk: [lineitem.l_orderkey, lineitem.l_linenumber], dist: UpstreamHashShard(lineitem.l_orderkey, lineitem.l_linenumber) }
|
|
3007 | 3017 | StreamProject { exprs: [part.p_partkey] }
|
3008 | 3018 | StreamHashAgg { group_key: [part.p_partkey], aggs: [count] }
|
3009 | 3019 | result table: 14, state tables: []
|
3010 |
| - Chain { table: part, columns: [part.p_partkey], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
3011 |
| - Upstream |
3012 |
| - BatchPlanNode |
| 3020 | + StreamProject { exprs: [part.p_partkey] } |
| 3021 | + StreamFilter { predicate: (part.p_brand = 'Brand#13':Varchar) AND (part.p_container = 'JUMBO PKG':Varchar) } |
| 3022 | + Chain { table: part, columns: [part.p_partkey, part.p_brand, part.p_container], pk: [part.p_partkey], dist: UpstreamHashShard(part.p_partkey) } |
| 3023 | + Upstream |
| 3024 | + BatchPlanNode |
3013 | 3025 |
|
3014 | 3026 | Fragment 6
|
3015 | 3027 | StreamFilter { predicate: IsNotNull(lineitem.l_partkey) }
|
|
0 commit comments