-
Notifications
You must be signed in to change notification settings - Fork 28.2k
/
simplified.txt
74 lines (74 loc) · 5.85 KB
/
simplified.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
TakeOrderedAndProject [lochierarchy,rank_within_parent,s_county,s_state,total_sum]
WholeStageCodegen (12)
Project [lochierarchy,rank_within_parent,s_county,s_state,total_sum]
InputAdapter
Window [_w1,_w2,_w3]
WholeStageCodegen (11)
Sort [_w1,_w2,_w3]
InputAdapter
Exchange [_w1,_w2] #1
WholeStageCodegen (10)
HashAggregate [s_county,s_state,spark_grouping_id,sum] [_w1,_w2,_w3,lochierarchy,sum,sum(UnscaledValue(ss_net_profit)),total_sum]
InputAdapter
Exchange [s_county,s_state,spark_grouping_id] #2
WholeStageCodegen (9)
HashAggregate [s_county,s_state,spark_grouping_id,ss_net_profit] [sum,sum]
Expand [s_county,s_state,ss_net_profit]
Project [s_county,s_state,ss_net_profit]
BroadcastHashJoin [s_store_sk,ss_store_sk]
Project [ss_net_profit,ss_store_sk]
BroadcastHashJoin [d_date_sk,ss_sold_date_sk]
Filter [ss_sold_date_sk,ss_store_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_sales [ss_net_profit,ss_sold_date_sk,ss_store_sk]
InputAdapter
BroadcastExchange #3
WholeStageCodegen (1)
Project [d_date_sk]
Filter [d_date_sk,d_month_seq]
ColumnarToRow
InputAdapter
Scan parquet default.date_dim [d_date_sk,d_month_seq]
InputAdapter
BroadcastExchange #4
WholeStageCodegen (8)
BroadcastHashJoin [s_state,s_state]
Filter [s_store_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store [s_county,s_state,s_store_sk]
InputAdapter
BroadcastExchange #5
WholeStageCodegen (7)
Project [s_state]
Filter [ranking]
InputAdapter
Window [_w2,s_state]
WholeStageCodegen (6)
Sort [_w2,s_state]
InputAdapter
Exchange [s_state] #6
WholeStageCodegen (5)
HashAggregate [s_state,sum] [_w2,s_state,sum,sum(UnscaledValue(ss_net_profit))]
InputAdapter
Exchange [s_state] #7
WholeStageCodegen (4)
HashAggregate [s_state,ss_net_profit] [sum,sum]
Project [s_state,ss_net_profit]
BroadcastHashJoin [s_store_sk,ss_store_sk]
Project [ss_net_profit,ss_store_sk]
BroadcastHashJoin [d_date_sk,ss_sold_date_sk]
Filter [ss_sold_date_sk,ss_store_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_sales [ss_net_profit,ss_sold_date_sk,ss_store_sk]
InputAdapter
ReusedExchange [d_date_sk] #3
InputAdapter
BroadcastExchange #8
WholeStageCodegen (3)
Filter [s_store_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store [s_state,s_store_sk]