|
1 | 1 | == Physical Plan == |
2 | | -TakeOrderedAndProject (45) |
3 | | -+- * HashAggregate (44) |
4 | | - +- Exchange (43) |
5 | | - +- * HashAggregate (42) |
6 | | - +- * Project (41) |
7 | | - +- * BroadcastHashJoin Inner BuildRight (40) |
8 | | - :- * Project (35) |
9 | | - : +- * BroadcastHashJoin Inner BuildRight (34) |
10 | | - : :- * Project (28) |
11 | | - : : +- * Filter (27) |
12 | | - : : +- * BroadcastHashJoin ExistenceJoin(exists#1) BuildRight (26) |
13 | | - : : :- * BroadcastHashJoin ExistenceJoin(exists#2) BuildRight (19) |
14 | | - : : : :- * CometColumnarToRow (12) |
15 | | - : : : : +- CometBroadcastHashJoin (11) |
16 | | - : : : : :- CometFilter (2) |
17 | | - : : : : : +- CometScan parquet spark_catalog.default.customer (1) |
18 | | - : : : : +- CometBroadcastExchange (10) |
19 | | - : : : : +- CometProject (9) |
20 | | - : : : : +- CometBroadcastHashJoin (8) |
21 | | - : : : : :- CometScan parquet spark_catalog.default.store_sales (3) |
22 | | - : : : : +- CometBroadcastExchange (7) |
23 | | - : : : : +- CometProject (6) |
24 | | - : : : : +- CometFilter (5) |
25 | | - : : : : +- CometScan parquet spark_catalog.default.date_dim (4) |
26 | | - : : : +- BroadcastExchange (18) |
27 | | - : : : +- * CometColumnarToRow (17) |
28 | | - : : : +- CometProject (16) |
29 | | - : : : +- CometBroadcastHashJoin (15) |
30 | | - : : : :- CometScan parquet spark_catalog.default.web_sales (13) |
31 | | - : : : +- ReusedExchange (14) |
32 | | - : : +- BroadcastExchange (25) |
33 | | - : : +- * CometColumnarToRow (24) |
34 | | - : : +- CometProject (23) |
35 | | - : : +- CometBroadcastHashJoin (22) |
36 | | - : : :- CometScan parquet spark_catalog.default.catalog_sales (20) |
37 | | - : : +- ReusedExchange (21) |
38 | | - : +- BroadcastExchange (33) |
39 | | - : +- * CometColumnarToRow (32) |
40 | | - : +- CometProject (31) |
41 | | - : +- CometFilter (30) |
42 | | - : +- CometScan parquet spark_catalog.default.customer_address (29) |
43 | | - +- BroadcastExchange (39) |
44 | | - +- * CometColumnarToRow (38) |
45 | | - +- CometFilter (37) |
46 | | - +- CometScan parquet spark_catalog.default.customer_demographics (36) |
| 2 | +TakeOrderedAndProject (46) |
| 3 | ++- * HashAggregate (45) |
| 4 | + +- * CometColumnarToRow (44) |
| 5 | + +- CometColumnarExchange (43) |
| 6 | + +- * HashAggregate (42) |
| 7 | + +- * Project (41) |
| 8 | + +- * BroadcastHashJoin Inner BuildRight (40) |
| 9 | + :- * Project (35) |
| 10 | + : +- * BroadcastHashJoin Inner BuildRight (34) |
| 11 | + : :- * Project (28) |
| 12 | + : : +- * Filter (27) |
| 13 | + : : +- * BroadcastHashJoin ExistenceJoin(exists#1) BuildRight (26) |
| 14 | + : : :- * BroadcastHashJoin ExistenceJoin(exists#2) BuildRight (19) |
| 15 | + : : : :- * CometColumnarToRow (12) |
| 16 | + : : : : +- CometBroadcastHashJoin (11) |
| 17 | + : : : : :- CometFilter (2) |
| 18 | + : : : : : +- CometScan parquet spark_catalog.default.customer (1) |
| 19 | + : : : : +- CometBroadcastExchange (10) |
| 20 | + : : : : +- CometProject (9) |
| 21 | + : : : : +- CometBroadcastHashJoin (8) |
| 22 | + : : : : :- CometScan parquet spark_catalog.default.store_sales (3) |
| 23 | + : : : : +- CometBroadcastExchange (7) |
| 24 | + : : : : +- CometProject (6) |
| 25 | + : : : : +- CometFilter (5) |
| 26 | + : : : : +- CometScan parquet spark_catalog.default.date_dim (4) |
| 27 | + : : : +- BroadcastExchange (18) |
| 28 | + : : : +- * CometColumnarToRow (17) |
| 29 | + : : : +- CometProject (16) |
| 30 | + : : : +- CometBroadcastHashJoin (15) |
| 31 | + : : : :- CometScan parquet spark_catalog.default.web_sales (13) |
| 32 | + : : : +- ReusedExchange (14) |
| 33 | + : : +- BroadcastExchange (25) |
| 34 | + : : +- * CometColumnarToRow (24) |
| 35 | + : : +- CometProject (23) |
| 36 | + : : +- CometBroadcastHashJoin (22) |
| 37 | + : : :- CometScan parquet spark_catalog.default.catalog_sales (20) |
| 38 | + : : +- ReusedExchange (21) |
| 39 | + : +- BroadcastExchange (33) |
| 40 | + : +- * CometColumnarToRow (32) |
| 41 | + : +- CometProject (31) |
| 42 | + : +- CometFilter (30) |
| 43 | + : +- CometScan parquet spark_catalog.default.customer_address (29) |
| 44 | + +- BroadcastExchange (39) |
| 45 | + +- * CometColumnarToRow (38) |
| 46 | + +- CometFilter (37) |
| 47 | + +- CometScan parquet spark_catalog.default.customer_demographics (36) |
47 | 48 |
|
48 | 49 |
|
49 | 50 | (1) CometScan parquet spark_catalog.default.customer |
@@ -243,50 +244,53 @@ Functions [1]: [partial_count(1)] |
243 | 244 | Aggregate Attributes [1]: [count#31] |
244 | 245 | Results [9]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#32] |
245 | 246 |
|
246 | | -(43) Exchange |
| 247 | +(43) CometColumnarExchange |
247 | 248 | Input [9]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#32] |
248 | | -Arguments: hashpartitioning(cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 5), ENSURE_REQUIREMENTS, [plan_id=5] |
| 249 | +Arguments: hashpartitioning(cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=5] |
249 | 250 |
|
250 | | -(44) HashAggregate [codegen id : 6] |
| 251 | +(44) CometColumnarToRow [codegen id : 6] |
| 252 | +Input [9]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#32] |
| 253 | + |
| 254 | +(45) HashAggregate [codegen id : 6] |
251 | 255 | Input [9]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#32] |
252 | 256 | Keys [8]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30] |
253 | 257 | Functions [1]: [count(1)] |
254 | 258 | Aggregate Attributes [1]: [count(1)#33] |
255 | 259 | Results [14]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, count(1)#33 AS cnt1#34, cd_purchase_estimate#26, count(1)#33 AS cnt2#35, cd_credit_rating#27, count(1)#33 AS cnt3#36, cd_dep_count#28, count(1)#33 AS cnt4#37, cd_dep_employed_count#29, count(1)#33 AS cnt5#38, cd_dep_college_count#30, count(1)#33 AS cnt6#39] |
256 | 260 |
|
257 | | -(45) TakeOrderedAndProject |
| 261 | +(46) TakeOrderedAndProject |
258 | 262 | Input [14]: [cd_gender#23, cd_marital_status#24, cd_education_status#25, cnt1#34, cd_purchase_estimate#26, cnt2#35, cd_credit_rating#27, cnt3#36, cd_dep_count#28, cnt4#37, cd_dep_employed_count#29, cnt5#38, cd_dep_college_count#30, cnt6#39] |
259 | 263 | Arguments: 100, [cd_gender#23 ASC NULLS FIRST, cd_marital_status#24 ASC NULLS FIRST, cd_education_status#25 ASC NULLS FIRST, cd_purchase_estimate#26 ASC NULLS FIRST, cd_credit_rating#27 ASC NULLS FIRST, cd_dep_count#28 ASC NULLS FIRST, cd_dep_employed_count#29 ASC NULLS FIRST, cd_dep_college_count#30 ASC NULLS FIRST], [cd_gender#23, cd_marital_status#24, cd_education_status#25, cnt1#34, cd_purchase_estimate#26, cnt2#35, cd_credit_rating#27, cnt3#36, cd_dep_count#28, cnt4#37, cd_dep_employed_count#29, cnt5#38, cd_dep_college_count#30, cnt6#39] |
260 | 264 |
|
261 | 265 | ===== Subqueries ===== |
262 | 266 |
|
263 | 267 | Subquery:1 Hosting operator id = 3 Hosting Expression = ss_sold_date_sk#7 IN dynamicpruning#8 |
264 | | -BroadcastExchange (50) |
265 | | -+- * CometColumnarToRow (49) |
266 | | - +- CometProject (48) |
267 | | - +- CometFilter (47) |
268 | | - +- CometScan parquet spark_catalog.default.date_dim (46) |
| 268 | +BroadcastExchange (51) |
| 269 | ++- * CometColumnarToRow (50) |
| 270 | + +- CometProject (49) |
| 271 | + +- CometFilter (48) |
| 272 | + +- CometScan parquet spark_catalog.default.date_dim (47) |
269 | 273 |
|
270 | 274 |
|
271 | | -(46) CometScan parquet spark_catalog.default.date_dim |
| 275 | +(47) CometScan parquet spark_catalog.default.date_dim |
272 | 276 | Output [3]: [d_date_sk#9, d_year#10, d_moy#11] |
273 | 277 | Batched: true |
274 | 278 | Location [not included in comparison]/{warehouse_dir}/date_dim] |
275 | 279 | PushedFilters: [IsNotNull(d_year), IsNotNull(d_moy), EqualTo(d_year,2002), GreaterThanOrEqual(d_moy,1), LessThanOrEqual(d_moy,4), IsNotNull(d_date_sk)] |
276 | 280 | ReadSchema: struct<d_date_sk:int,d_year:int,d_moy:int> |
277 | 281 |
|
278 | | -(47) CometFilter |
| 282 | +(48) CometFilter |
279 | 283 | Input [3]: [d_date_sk#9, d_year#10, d_moy#11] |
280 | 284 | Condition : (((((isnotnull(d_year#10) AND isnotnull(d_moy#11)) AND (d_year#10 = 2002)) AND (d_moy#11 >= 1)) AND (d_moy#11 <= 4)) AND isnotnull(d_date_sk#9)) |
281 | 285 |
|
282 | | -(48) CometProject |
| 286 | +(49) CometProject |
283 | 287 | Input [3]: [d_date_sk#9, d_year#10, d_moy#11] |
284 | 288 | Arguments: [d_date_sk#9], [d_date_sk#9] |
285 | 289 |
|
286 | | -(49) CometColumnarToRow [codegen id : 1] |
| 290 | +(50) CometColumnarToRow [codegen id : 1] |
287 | 291 | Input [1]: [d_date_sk#9] |
288 | 292 |
|
289 | | -(50) BroadcastExchange |
| 293 | +(51) BroadcastExchange |
290 | 294 | Input [1]: [d_date_sk#9] |
291 | 295 | Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=6] |
292 | 296 |
|
|
0 commit comments