-
Notifications
You must be signed in to change notification settings - Fork 28.2k
/
simplified.txt
125 lines (125 loc) · 10.2 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
WholeStageCodegen (8)
Project [c_last_name,c_first_name,s_store_name,paid]
Filter [sum(netpaid)]
Subquery #1
WholeStageCodegen (8)
HashAggregate [sum,count] [avg(netpaid),(CAST(0.05 AS DECIMAL(21,6)) * CAST(avg(netpaid) AS DECIMAL(21,6))),sum,count]
InputAdapter
Exchange #8
WholeStageCodegen (7)
HashAggregate [netpaid] [sum,count,sum,count]
HashAggregate [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size,sum] [sum(UnscaledValue(ss_net_paid)),netpaid,sum]
InputAdapter
Exchange [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size] #9
WholeStageCodegen (6)
HashAggregate [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size,ss_net_paid] [sum,sum]
Project [ss_net_paid,s_store_name,s_state,i_current_price,i_size,i_color,i_units,i_manager_id,c_first_name,c_last_name,ca_state]
BroadcastHashJoin [c_birth_country,s_zip,ca_country,ca_zip]
Project [ss_net_paid,s_store_name,s_state,s_zip,i_current_price,i_size,i_color,i_units,i_manager_id,c_first_name,c_last_name,c_birth_country]
BroadcastHashJoin [ss_customer_sk,c_customer_sk]
Project [ss_customer_sk,ss_net_paid,s_store_name,s_state,s_zip,i_current_price,i_size,i_color,i_units,i_manager_id]
BroadcastHashJoin [ss_item_sk,i_item_sk]
Project [ss_item_sk,ss_customer_sk,ss_net_paid,s_store_name,s_state,s_zip]
BroadcastHashJoin [ss_store_sk,s_store_sk]
Project [ss_item_sk,ss_customer_sk,ss_store_sk,ss_net_paid]
BroadcastHashJoin [ss_ticket_number,ss_item_sk,sr_ticket_number,sr_item_sk]
Filter [ss_ticket_number,ss_item_sk,ss_store_sk,ss_customer_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_sales [ss_item_sk,ss_customer_sk,ss_store_sk,ss_ticket_number,ss_net_paid]
InputAdapter
BroadcastExchange #10
WholeStageCodegen (1)
Filter [sr_ticket_number,sr_item_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_returns [sr_item_sk,sr_ticket_number]
InputAdapter
BroadcastExchange #11
WholeStageCodegen (2)
Project [s_store_sk,s_store_name,s_state,s_zip]
Filter [s_market_id,s_store_sk,s_zip]
ColumnarToRow
InputAdapter
Scan parquet default.store [s_store_sk,s_store_name,s_market_id,s_state,s_zip]
InputAdapter
BroadcastExchange #12
WholeStageCodegen (3)
Filter [i_item_sk]
ColumnarToRow
InputAdapter
Scan parquet default.item [i_item_sk,i_current_price,i_size,i_color,i_units,i_manager_id]
InputAdapter
BroadcastExchange #13
WholeStageCodegen (4)
Filter [c_customer_sk,c_birth_country]
ColumnarToRow
InputAdapter
Scan parquet default.customer [c_customer_sk,c_first_name,c_last_name,c_birth_country]
InputAdapter
BroadcastExchange #14
WholeStageCodegen (5)
Filter [ca_country,ca_zip]
ColumnarToRow
InputAdapter
Scan parquet default.customer_address [ca_state,ca_zip,ca_country]
HashAggregate [c_last_name,c_first_name,s_store_name,sum,isEmpty] [sum(netpaid),paid,sum(netpaid),sum,isEmpty]
InputAdapter
Exchange [c_last_name,c_first_name,s_store_name] #1
WholeStageCodegen (7)
HashAggregate [c_last_name,c_first_name,s_store_name,netpaid] [sum,isEmpty,sum,isEmpty]
HashAggregate [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size,sum] [sum(UnscaledValue(ss_net_paid)),netpaid,sum]
InputAdapter
Exchange [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size] #2
WholeStageCodegen (6)
HashAggregate [c_last_name,c_first_name,s_store_name,ca_state,s_state,i_color,i_current_price,i_manager_id,i_units,i_size,ss_net_paid] [sum,sum]
Project [ss_net_paid,s_store_name,s_state,i_current_price,i_size,i_color,i_units,i_manager_id,c_first_name,c_last_name,ca_state]
BroadcastHashJoin [c_birth_country,s_zip,ca_country,ca_zip]
Project [ss_net_paid,s_store_name,s_state,s_zip,i_current_price,i_size,i_color,i_units,i_manager_id,c_first_name,c_last_name,c_birth_country]
BroadcastHashJoin [ss_customer_sk,c_customer_sk]
Project [ss_customer_sk,ss_net_paid,s_store_name,s_state,s_zip,i_current_price,i_size,i_color,i_units,i_manager_id]
BroadcastHashJoin [ss_item_sk,i_item_sk]
Project [ss_item_sk,ss_customer_sk,ss_net_paid,s_store_name,s_state,s_zip]
BroadcastHashJoin [ss_store_sk,s_store_sk]
Project [ss_item_sk,ss_customer_sk,ss_store_sk,ss_net_paid]
BroadcastHashJoin [ss_ticket_number,ss_item_sk,sr_ticket_number,sr_item_sk]
Filter [ss_ticket_number,ss_item_sk,ss_store_sk,ss_customer_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_sales [ss_item_sk,ss_customer_sk,ss_store_sk,ss_ticket_number,ss_net_paid]
InputAdapter
BroadcastExchange #3
WholeStageCodegen (1)
Filter [sr_ticket_number,sr_item_sk]
ColumnarToRow
InputAdapter
Scan parquet default.store_returns [sr_item_sk,sr_ticket_number]
InputAdapter
BroadcastExchange #4
WholeStageCodegen (2)
Project [s_store_sk,s_store_name,s_state,s_zip]
Filter [s_market_id,s_store_sk,s_zip]
ColumnarToRow
InputAdapter
Scan parquet default.store [s_store_sk,s_store_name,s_market_id,s_state,s_zip]
InputAdapter
BroadcastExchange #5
WholeStageCodegen (3)
Filter [i_color,i_item_sk]
ColumnarToRow
InputAdapter
Scan parquet default.item [i_item_sk,i_current_price,i_size,i_color,i_units,i_manager_id]
InputAdapter
BroadcastExchange #6
WholeStageCodegen (4)
Filter [c_customer_sk,c_birth_country]
ColumnarToRow
InputAdapter
Scan parquet default.customer [c_customer_sk,c_first_name,c_last_name,c_birth_country]
InputAdapter
BroadcastExchange #7
WholeStageCodegen (5)
Filter [ca_country,ca_zip]
ColumnarToRow
InputAdapter
Scan parquet default.customer_address [ca_state,ca_zip,ca_country]