|
1 | 1 | == Physical Plan ==
|
2 |
| -* Sort (70) |
3 |
| -+- Exchange (69) |
4 |
| - +- * Project (68) |
5 |
| - +- BroadcastNestedLoopJoin Inner BuildRight (67) |
6 |
| - :- * HashAggregate (47) |
7 |
| - : +- Exchange (46) |
8 |
| - : +- * HashAggregate (45) |
9 |
| - : +- * Project (44) |
10 |
| - : +- * BroadcastHashJoin Inner BuildRight (43) |
11 |
| - : :- * Project (31) |
12 |
| - : : +- * BroadcastHashJoin Inner BuildRight (30) |
13 |
| - : : :- * Project (24) |
14 |
| - : : : +- * BroadcastHashJoin Inner BuildRight (23) |
15 |
| - : : : :- * Project (17) |
16 |
| - : : : : +- * BroadcastHashJoin Inner BuildRight (16) |
17 |
| - : : : : :- * Project (10) |
18 |
| - : : : : : +- * BroadcastHashJoin Inner BuildRight (9) |
19 |
| - : : : : : :- * Filter (3) |
20 |
| - : : : : : : +- * ColumnarToRow (2) |
21 |
| - : : : : : : +- Scan parquet default.store_sales (1) |
22 |
| - : : : : : +- BroadcastExchange (8) |
23 |
| - : : : : : +- * Project (7) |
24 |
| - : : : : : +- * Filter (6) |
25 |
| - : : : : : +- * ColumnarToRow (5) |
26 |
| - : : : : : +- Scan parquet default.date_dim (4) |
27 |
| - : : : : +- BroadcastExchange (15) |
28 |
| - : : : : +- * Project (14) |
29 |
| - : : : : +- * Filter (13) |
30 |
| - : : : : +- * ColumnarToRow (12) |
31 |
| - : : : : +- Scan parquet default.item (11) |
32 |
| - : : : +- BroadcastExchange (22) |
33 |
| - : : : +- * Project (21) |
34 |
| - : : : +- * Filter (20) |
35 |
| - : : : +- * ColumnarToRow (19) |
36 |
| - : : : +- Scan parquet default.promotion (18) |
37 |
| - : : +- BroadcastExchange (29) |
38 |
| - : : +- * Project (28) |
39 |
| - : : +- * Filter (27) |
40 |
| - : : +- * ColumnarToRow (26) |
41 |
| - : : +- Scan parquet default.store (25) |
42 |
| - : +- BroadcastExchange (42) |
43 |
| - : +- * Project (41) |
44 |
| - : +- * BroadcastHashJoin Inner BuildRight (40) |
45 |
| - : :- * Filter (34) |
46 |
| - : : +- * ColumnarToRow (33) |
47 |
| - : : +- Scan parquet default.customer (32) |
48 |
| - : +- BroadcastExchange (39) |
49 |
| - : +- * Project (38) |
50 |
| - : +- * Filter (37) |
51 |
| - : +- * ColumnarToRow (36) |
52 |
| - : +- Scan parquet default.customer_address (35) |
53 |
| - +- BroadcastExchange (66) |
54 |
| - +- * HashAggregate (65) |
55 |
| - +- Exchange (64) |
56 |
| - +- * HashAggregate (63) |
57 |
| - +- * Project (62) |
58 |
| - +- * BroadcastHashJoin Inner BuildRight (61) |
59 |
| - :- * Project (59) |
60 |
| - : +- * BroadcastHashJoin Inner BuildRight (58) |
61 |
| - : :- * Project (56) |
62 |
| - : : +- * BroadcastHashJoin Inner BuildRight (55) |
63 |
| - : : :- * Project (53) |
64 |
| - : : : +- * BroadcastHashJoin Inner BuildRight (52) |
65 |
| - : : : :- * Filter (50) |
66 |
| - : : : : +- * ColumnarToRow (49) |
67 |
| - : : : : +- Scan parquet default.store_sales (48) |
68 |
| - : : : +- ReusedExchange (51) |
69 |
| - : : +- ReusedExchange (54) |
70 |
| - : +- ReusedExchange (57) |
71 |
| - +- ReusedExchange (60) |
| 2 | +* Sort (69) |
| 3 | ++- * Project (68) |
| 4 | + +- BroadcastNestedLoopJoin Inner BuildRight (67) |
| 5 | + :- * HashAggregate (47) |
| 6 | + : +- Exchange (46) |
| 7 | + : +- * HashAggregate (45) |
| 8 | + : +- * Project (44) |
| 9 | + : +- * BroadcastHashJoin Inner BuildRight (43) |
| 10 | + : :- * Project (31) |
| 11 | + : : +- * BroadcastHashJoin Inner BuildRight (30) |
| 12 | + : : :- * Project (24) |
| 13 | + : : : +- * BroadcastHashJoin Inner BuildRight (23) |
| 14 | + : : : :- * Project (17) |
| 15 | + : : : : +- * BroadcastHashJoin Inner BuildRight (16) |
| 16 | + : : : : :- * Project (10) |
| 17 | + : : : : : +- * BroadcastHashJoin Inner BuildRight (9) |
| 18 | + : : : : : :- * Filter (3) |
| 19 | + : : : : : : +- * ColumnarToRow (2) |
| 20 | + : : : : : : +- Scan parquet default.store_sales (1) |
| 21 | + : : : : : +- BroadcastExchange (8) |
| 22 | + : : : : : +- * Project (7) |
| 23 | + : : : : : +- * Filter (6) |
| 24 | + : : : : : +- * ColumnarToRow (5) |
| 25 | + : : : : : +- Scan parquet default.date_dim (4) |
| 26 | + : : : : +- BroadcastExchange (15) |
| 27 | + : : : : +- * Project (14) |
| 28 | + : : : : +- * Filter (13) |
| 29 | + : : : : +- * ColumnarToRow (12) |
| 30 | + : : : : +- Scan parquet default.item (11) |
| 31 | + : : : +- BroadcastExchange (22) |
| 32 | + : : : +- * Project (21) |
| 33 | + : : : +- * Filter (20) |
| 34 | + : : : +- * ColumnarToRow (19) |
| 35 | + : : : +- Scan parquet default.promotion (18) |
| 36 | + : : +- BroadcastExchange (29) |
| 37 | + : : +- * Project (28) |
| 38 | + : : +- * Filter (27) |
| 39 | + : : +- * ColumnarToRow (26) |
| 40 | + : : +- Scan parquet default.store (25) |
| 41 | + : +- BroadcastExchange (42) |
| 42 | + : +- * Project (41) |
| 43 | + : +- * BroadcastHashJoin Inner BuildRight (40) |
| 44 | + : :- * Filter (34) |
| 45 | + : : +- * ColumnarToRow (33) |
| 46 | + : : +- Scan parquet default.customer (32) |
| 47 | + : +- BroadcastExchange (39) |
| 48 | + : +- * Project (38) |
| 49 | + : +- * Filter (37) |
| 50 | + : +- * ColumnarToRow (36) |
| 51 | + : +- Scan parquet default.customer_address (35) |
| 52 | + +- BroadcastExchange (66) |
| 53 | + +- * HashAggregate (65) |
| 54 | + +- Exchange (64) |
| 55 | + +- * HashAggregate (63) |
| 56 | + +- * Project (62) |
| 57 | + +- * BroadcastHashJoin Inner BuildRight (61) |
| 58 | + :- * Project (59) |
| 59 | + : +- * BroadcastHashJoin Inner BuildRight (58) |
| 60 | + : :- * Project (56) |
| 61 | + : : +- * BroadcastHashJoin Inner BuildRight (55) |
| 62 | + : : :- * Project (53) |
| 63 | + : : : +- * BroadcastHashJoin Inner BuildRight (52) |
| 64 | + : : : :- * Filter (50) |
| 65 | + : : : : +- * ColumnarToRow (49) |
| 66 | + : : : : +- Scan parquet default.store_sales (48) |
| 67 | + : : : +- ReusedExchange (51) |
| 68 | + : : +- ReusedExchange (54) |
| 69 | + : +- ReusedExchange (57) |
| 70 | + +- ReusedExchange (60) |
72 | 71 |
|
73 | 72 |
|
74 | 73 | (1) Scan parquet default.store_sales
|
@@ -121,15 +120,15 @@ Input [7]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_promo_sk#4, ss_ext
|
121 | 120 | Output [2]: [i_item_sk#12, i_category#13]
|
122 | 121 | Batched: true
|
123 | 122 | Location [not included in comparison]/{warehouse_dir}/item]
|
124 |
| -PushedFilters: [IsNotNull(i_category), EqualTo(i_category,Jewelry), IsNotNull(i_item_sk)] |
| 123 | +PushedFilters: [IsNotNull(i_category), EqualTo(i_category,Jewelry ), IsNotNull(i_item_sk)] |
125 | 124 | ReadSchema: struct<i_item_sk:int,i_category:string>
|
126 | 125 |
|
127 | 126 | (12) ColumnarToRow [codegen id : 2]
|
128 | 127 | Input [2]: [i_item_sk#12, i_category#13]
|
129 | 128 |
|
130 | 129 | (13) Filter [codegen id : 2]
|
131 | 130 | Input [2]: [i_item_sk#12, i_category#13]
|
132 |
| -Condition : ((isnotnull(i_category#13) AND (i_category#13 = Jewelry)) AND isnotnull(i_item_sk#12)) |
| 131 | +Condition : ((isnotnull(i_category#13) AND (i_category#13 = Jewelry )) AND isnotnull(i_item_sk#12)) |
133 | 132 |
|
134 | 133 | (14) Project [codegen id : 2]
|
135 | 134 | Output [1]: [i_item_sk#12]
|
@@ -378,21 +377,17 @@ Join condition: None
|
378 | 377 | Output [3]: [promotions#33, total#38, CheckOverflow((promote_precision(CheckOverflow((promote_precision(cast(promotions#33 as decimal(15,4))) / promote_precision(cast(total#38 as decimal(15,4)))), DecimalType(35,20), true)) * 100.00000000000000000000), DecimalType(38,19), true) AS ((CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4))) * 100)#40]
|
379 | 378 | Input [2]: [promotions#33, total#38]
|
380 | 379 |
|
381 |
| -(69) Exchange |
382 |
| -Input [3]: [promotions#33, total#38, ((CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4))) * 100)#40] |
383 |
| -Arguments: rangepartitioning(promotions#33 ASC NULLS FIRST, total#38 ASC NULLS FIRST, 5), ENSURE_REQUIREMENTS, [id=#41] |
384 |
| - |
385 |
| -(70) Sort [codegen id : 17] |
| 380 | +(69) Sort [codegen id : 16] |
386 | 381 | Input [3]: [promotions#33, total#38, ((CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4))) * 100)#40]
|
387 | 382 | Arguments: [promotions#33 ASC NULLS FIRST, total#38 ASC NULLS FIRST], true, 0
|
388 | 383 |
|
389 | 384 | ===== Subqueries =====
|
390 | 385 |
|
391 | 386 | Subquery:1 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#6 IN dynamicpruning#7
|
392 |
| -ReusedExchange (71) |
| 387 | +ReusedExchange (70) |
393 | 388 |
|
394 | 389 |
|
395 |
| -(71) ReusedExchange [Reuses operator id: 8] |
| 390 | +(70) ReusedExchange [Reuses operator id: 8] |
396 | 391 | Output [1]: [d_date_sk#8]
|
397 | 392 |
|
398 | 393 | Subquery:2 Hosting operator id = 48 Hosting Expression = ss_sold_date_sk#6 IN dynamicpruning#7
|
|
0 commit comments