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
165
166
167
168
169
170
171
|
{
"head" : {
"version" : 1,
"generator" : {
"type" : "DefaultSqlHandler",
"info" : ""
},
"type" : "APACHE_DRILL_PHYSICAL",
"options" : [ ],
"queue" : 0,
"resultMode" : "EXEC"
},
"graph" : [ {
"pop" : "fs-scan",
"@id" : 11,
"files" : [ "/region.json" ],
"storage" : {
"type" : "file",
"enabled" : true,
"connection" : "classpath:///",
"workspaces" : null,
"formats" : {
"json" : {
"type" : "json"
},
"parquet" : {
"type" : "parquet"
}
}
},
"format" : {
"type" : "json"
},
"selectionRoot" : "/region.json",
"cost" : 18.0
}, {
"pop" : "project",
"@id" : 9,
"exprs" : [ {
"ref" : "`T2¦¦*`",
"expr" : "`*`"
} ],
"child" : 11,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "external-sort",
"@id" : 7,
"child" : 9,
"orderings" : [ {
"order" : "ASC",
"expr" : "`T2¦¦non_exist`",
"nullDirection" : "UNSPECIFIED"
} ],
"reverse" : false,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "selection-vector-remover",
"@id" : 5,
"child" : 7,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "fs-scan",
"@id" : 10,
"files" : [ "/region.json" ],
"storage" : {
"type" : "file",
"enabled" : true,
"connection" : "classpath:///",
"workspaces" : null,
"formats" : {
"json" : {
"type" : "json"
},
"parquet" : {
"type" : "parquet"
}
}
},
"format" : {
"type" : "json"
},
"selectionRoot" : "/region.json",
"cost" : 18.0
}, {
"pop" : "project",
"@id" : 8,
"exprs" : [ {
"ref" : "`T3¦¦*`",
"expr" : "`*`"
} ],
"child" : 10,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "external-sort",
"@id" : 6,
"child" : 8,
"orderings" : [ {
"order" : "ASC",
"expr" : "`T3¦¦non_exist2`",
"nullDirection" : "UNSPECIFIED"
} ],
"reverse" : false,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "selection-vector-remover",
"@id" : 4,
"child" : 6,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "merge-join",
"@id" : 3,
"left" : 5,
"right" : 4,
"conditions" : [ {
"relationship" : "==",
"left" : "`T2¦¦non_exist`",
"right" : "`T3¦¦non_exist2`"
} ],
"joinType" : "${JOIN_TYPE}",
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "project",
"@id" : 2,
"exprs" : [ {
"ref" : "`T2¦¦*`",
"expr" : "`T2¦¦*`"
}, {
"ref" : "`T3¦¦*`",
"expr" : "`T3¦¦*`"
} ],
"child" : 3,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "project",
"@id" : 1,
"exprs" : [ {
"ref" : "`*`",
"expr" : "`T2¦¦*`"
}, {
"ref" : "`*0`",
"expr" : "`T3¦¦*`"
} ],
"child" : 2,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
}, {
"pop" : "screen",
"@id" : 0,
"child" : 1,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : 18.0
} ]
}
|