-
Notifications
You must be signed in to change notification settings - Fork 28.2k
/
explain.txt
165 lines (134 loc) · 5.9 KB
/
explain.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
== Physical Plan ==
* Sort (29)
+- * HashAggregate (28)
+- Exchange (27)
+- * HashAggregate (26)
+- * Project (25)
+- * BroadcastHashJoin Inner BuildRight (24)
:- * Project (18)
: +- * BroadcastHashJoin Inner BuildRight (17)
: :- * Project (11)
: : +- * BroadcastHashJoin Inner BuildRight (10)
: : :- * Project (4)
: : : +- * Filter (3)
: : : +- * ColumnarToRow (2)
: : : +- Scan parquet default.store_sales (1)
: : +- BroadcastExchange (9)
: : +- * Project (8)
: : +- * Filter (7)
: : +- * ColumnarToRow (6)
: : +- Scan parquet default.household_demographics (5)
: +- BroadcastExchange (16)
: +- * Project (15)
: +- * Filter (14)
: +- * ColumnarToRow (13)
: +- Scan parquet default.time_dim (12)
+- BroadcastExchange (23)
+- * Project (22)
+- * Filter (21)
+- * ColumnarToRow (20)
+- Scan parquet default.store (19)
(1) Scan parquet default.store_sales
Output [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_sold_date_sk#4]
Batched: true
Location [not included in comparison]/{warehouse_dir}/store_sales]
PushedFilters: [IsNotNull(ss_hdemo_sk), IsNotNull(ss_sold_time_sk), IsNotNull(ss_store_sk)]
ReadSchema: struct<ss_sold_time_sk:int,ss_hdemo_sk:int,ss_store_sk:int>
(2) ColumnarToRow [codegen id : 4]
Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_sold_date_sk#4]
(3) Filter [codegen id : 4]
Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_sold_date_sk#4]
Condition : ((isnotnull(ss_hdemo_sk#2) AND isnotnull(ss_sold_time_sk#1)) AND isnotnull(ss_store_sk#3))
(4) Project [codegen id : 4]
Output [3]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3]
Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_sold_date_sk#4]
(5) Scan parquet default.household_demographics
Output [2]: [hd_demo_sk#5, hd_dep_count#6]
Batched: true
Location [not included in comparison]/{warehouse_dir}/household_demographics]
PushedFilters: [IsNotNull(hd_dep_count), EqualTo(hd_dep_count,7), IsNotNull(hd_demo_sk)]
ReadSchema: struct<hd_demo_sk:int,hd_dep_count:int>
(6) ColumnarToRow [codegen id : 1]
Input [2]: [hd_demo_sk#5, hd_dep_count#6]
(7) Filter [codegen id : 1]
Input [2]: [hd_demo_sk#5, hd_dep_count#6]
Condition : ((isnotnull(hd_dep_count#6) AND (hd_dep_count#6 = 7)) AND isnotnull(hd_demo_sk#5))
(8) Project [codegen id : 1]
Output [1]: [hd_demo_sk#5]
Input [2]: [hd_demo_sk#5, hd_dep_count#6]
(9) BroadcastExchange
Input [1]: [hd_demo_sk#5]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [id=#7]
(10) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [ss_hdemo_sk#2]
Right keys [1]: [hd_demo_sk#5]
Join condition: None
(11) Project [codegen id : 4]
Output [2]: [ss_sold_time_sk#1, ss_store_sk#3]
Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, hd_demo_sk#5]
(12) Scan parquet default.time_dim
Output [3]: [t_time_sk#8, t_hour#9, t_minute#10]
Batched: true
Location [not included in comparison]/{warehouse_dir}/time_dim]
PushedFilters: [IsNotNull(t_hour), IsNotNull(t_minute), EqualTo(t_hour,20), GreaterThanOrEqual(t_minute,30), IsNotNull(t_time_sk)]
ReadSchema: struct<t_time_sk:int,t_hour:int,t_minute:int>
(13) ColumnarToRow [codegen id : 2]
Input [3]: [t_time_sk#8, t_hour#9, t_minute#10]
(14) Filter [codegen id : 2]
Input [3]: [t_time_sk#8, t_hour#9, t_minute#10]
Condition : ((((isnotnull(t_hour#9) AND isnotnull(t_minute#10)) AND (t_hour#9 = 20)) AND (t_minute#10 >= 30)) AND isnotnull(t_time_sk#8))
(15) Project [codegen id : 2]
Output [1]: [t_time_sk#8]
Input [3]: [t_time_sk#8, t_hour#9, t_minute#10]
(16) BroadcastExchange
Input [1]: [t_time_sk#8]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [id=#11]
(17) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [ss_sold_time_sk#1]
Right keys [1]: [t_time_sk#8]
Join condition: None
(18) Project [codegen id : 4]
Output [1]: [ss_store_sk#3]
Input [3]: [ss_sold_time_sk#1, ss_store_sk#3, t_time_sk#8]
(19) Scan parquet default.store
Output [2]: [s_store_sk#12, s_store_name#13]
Batched: true
Location [not included in comparison]/{warehouse_dir}/store]
PushedFilters: [IsNotNull(s_store_name), EqualTo(s_store_name,ese), IsNotNull(s_store_sk)]
ReadSchema: struct<s_store_sk:int,s_store_name:string>
(20) ColumnarToRow [codegen id : 3]
Input [2]: [s_store_sk#12, s_store_name#13]
(21) Filter [codegen id : 3]
Input [2]: [s_store_sk#12, s_store_name#13]
Condition : ((isnotnull(s_store_name#13) AND (s_store_name#13 = ese)) AND isnotnull(s_store_sk#12))
(22) Project [codegen id : 3]
Output [1]: [s_store_sk#12]
Input [2]: [s_store_sk#12, s_store_name#13]
(23) BroadcastExchange
Input [1]: [s_store_sk#12]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [id=#14]
(24) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [ss_store_sk#3]
Right keys [1]: [s_store_sk#12]
Join condition: None
(25) Project [codegen id : 4]
Output: []
Input [2]: [ss_store_sk#3, s_store_sk#12]
(26) HashAggregate [codegen id : 4]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#15]
Results [1]: [count#16]
(27) Exchange
Input [1]: [count#16]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [id=#17]
(28) HashAggregate [codegen id : 5]
Input [1]: [count#16]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#18]
Results [1]: [count(1)#18 AS count(1)#19]
(29) Sort [codegen id : 5]
Input [1]: [count(1)#19]
Arguments: [count(1)#19 ASC NULLS FIRST], true, 0