1 PREHOOK: query: CREATE TABLE testTable1(key INT, value STRING) STORED AS TEXTFILE
2 PREHOOK: type: CREATETABLE
3 PREHOOK: Output: database:default
4 PREHOOK: Output: default@testTable1
5 POSTHOOK: query: CREATE TABLE testTable1(key INT, value STRING) STORED AS TEXTFILE
6 POSTHOOK: type: CREATETABLE
7 POSTHOOK: Output: database:default
8 POSTHOOK: Output: default@testTable1
9 PREHOOK: query: CREATE TABLE testTable2(key INT, val1 STRING, val2 STRING) STORED AS TEXTFILE
10 PREHOOK: type: CREATETABLE
11 PREHOOK: Output: database:default
12 PREHOOK: Output: default@testTable2
13 POSTHOOK: query: CREATE TABLE testTable2(key INT, val1 STRING, val2 STRING) STORED AS TEXTFILE
14 POSTHOOK: type: CREATETABLE
15 POSTHOOK: Output: database:default
16 POSTHOOK: Output: default@testTable2
17 PREHOOK: query: EXPLAIN
19 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
20 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1, 2
22 POSTHOOK: query: EXPLAIN
24 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
25 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1, 2
28 Stage-2 is a root stage
29 Stage-0 depends on stages: Stage-2
30 Stage-3 depends on stages: Stage-0, Stage-4, Stage-7
31 Stage-4 depends on stages: Stage-2
32 Stage-6 depends on stages: Stage-1, Stage-4, Stage-7
33 Stage-5 depends on stages: Stage-2
34 Stage-1 depends on stages: Stage-5
35 Stage-7 depends on stages: Stage-5
43 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
45 predicate: (key < 20) (type: boolean)
46 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
48 aggregations: count(DISTINCT substr(value, 5))
49 keys: key (type: string), substr(value, 5) (type: string)
51 outputColumnNames: _col0, _col1, _col2
52 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
53 Reduce Output Operator
54 key expressions: _col0 (type: string), _col1 (type: string)
56 Map-reduce partition columns: _col0 (type: string)
57 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
59 predicate: (key < 20) (type: boolean)
60 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
62 aggregations: count(DISTINCT substr(value, 5))
63 keys: key (type: string), value (type: string), substr(value, 5) (type: string)
65 outputColumnNames: _col0, _col1, _col2, _col3
66 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
70 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
71 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
72 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
75 aggregations: count(DISTINCT KEY._col1:0._col0)
76 keys: KEY._col0 (type: string)
78 outputColumnNames: _col0, _col1
79 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
81 expressions: UDFToInteger(_col0) (type: int), UDFToString(_col1) (type: string)
82 outputColumnNames: _col0, _col1
83 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
86 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
88 input format: org.apache.hadoop.mapred.TextInputFormat
89 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
90 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
91 name: default.testtable1
93 expressions: _col0 (type: int), _col1 (type: string)
94 outputColumnNames: key, value
95 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
97 aggregations: compute_stats(key, 'hll'), compute_stats(value, 'hll')
99 outputColumnNames: _col0, _col1
100 Statistics: Num rows: 1 Data size: 872 Basic stats: COMPLETE Column stats: NONE
104 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
105 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
106 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
113 input format: org.apache.hadoop.mapred.TextInputFormat
114 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
115 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
116 name: default.testtable1
123 Column Types: int, string
124 Table: default.testtable1
130 Reduce Output Operator
132 Statistics: Num rows: 1 Data size: 872 Basic stats: COMPLETE Column stats: NONE
133 value expressions: _col0 (type: struct<columntype:string,min:bigint,max:bigint,countnulls:bigint,bitvector:binary>), _col1 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>)
134 Reduce Operator Tree:
136 aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1)
138 outputColumnNames: _col0, _col1
139 Statistics: Num rows: 1 Data size: 888 Basic stats: COMPLETE Column stats: NONE
142 Statistics: Num rows: 1 Data size: 888 Basic stats: COMPLETE Column stats: NONE
144 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
145 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
146 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
152 Columns: key, val1, val2
153 Column Types: int, string, string
154 Table: default.testtable2
160 Reduce Output Operator
161 key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string)
163 Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
164 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
165 Reduce Operator Tree:
167 aggregations: count(DISTINCT KEY._col2:0._col0)
168 keys: KEY._col0 (type: string), KEY._col1 (type: string)
170 outputColumnNames: _col0, _col1, _col2
171 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
173 expressions: UDFToInteger(_col0) (type: int), _col1 (type: string), UDFToString(_col2) (type: string)
174 outputColumnNames: _col0, _col1, _col2
175 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
178 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
180 input format: org.apache.hadoop.mapred.TextInputFormat
181 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
182 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
183 name: default.testtable2
185 expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string)
186 outputColumnNames: key, val1, val2
187 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
189 aggregations: compute_stats(key, 'hll'), compute_stats(val1, 'hll'), compute_stats(val2, 'hll')
191 outputColumnNames: _col0, _col1, _col2
192 Statistics: Num rows: 1 Data size: 1312 Basic stats: COMPLETE Column stats: NONE
196 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
197 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
198 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
205 input format: org.apache.hadoop.mapred.TextInputFormat
206 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
207 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
208 name: default.testtable2
214 Reduce Output Operator
216 Statistics: Num rows: 1 Data size: 1312 Basic stats: COMPLETE Column stats: NONE
217 value expressions: _col0 (type: struct<columntype:string,min:bigint,max:bigint,countnulls:bigint,bitvector:binary>), _col1 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>), _col2 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>)
218 Reduce Operator Tree:
220 aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1), compute_stats(VALUE._col2)
222 outputColumnNames: _col0, _col1, _col2
223 Statistics: Num rows: 1 Data size: 1328 Basic stats: COMPLETE Column stats: NONE
226 Statistics: Num rows: 1 Data size: 1328 Basic stats: COMPLETE Column stats: NONE
228 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
229 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
230 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
232 PREHOOK: query: FROM SRC
233 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
234 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1, 2
236 PREHOOK: Input: default@src
237 PREHOOK: Output: default@testtable1
238 PREHOOK: Output: default@testtable2
239 POSTHOOK: query: FROM SRC
240 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
241 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1, 2
242 POSTHOOK: type: QUERY
243 POSTHOOK: Input: default@src
244 POSTHOOK: Output: default@testtable1
245 POSTHOOK: Output: default@testtable2
246 POSTHOOK: Lineage: testtable1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
247 POSTHOOK: Lineage: testtable1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
248 POSTHOOK: Lineage: testtable2.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
249 POSTHOOK: Lineage: testtable2.val1 SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
250 POSTHOOK: Lineage: testtable2.val2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
251 PREHOOK: query: SELECT key, value FROM testTable1 ORDER BY 1, 2
253 PREHOOK: Input: default@testtable1
254 #### A masked pattern was here ####
255 POSTHOOK: query: SELECT key, value FROM testTable1 ORDER BY 1, 2
256 POSTHOOK: type: QUERY
257 POSTHOOK: Input: default@testtable1
258 #### A masked pattern was here ####
272 PREHOOK: query: SELECT key, val1, val2 FROM testTable2 ORDER BY 1, 2, 3
274 PREHOOK: Input: default@testtable2
275 #### A masked pattern was here ####
276 POSTHOOK: query: SELECT key, val1, val2 FROM testTable2 ORDER BY 1, 2, 3
277 POSTHOOK: type: QUERY
278 POSTHOOK: Input: default@testtable2
279 #### A masked pattern was here ####
293 PREHOOK: query: EXPLAIN
295 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
296 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 2, 1
298 POSTHOOK: query: EXPLAIN
300 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
301 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 2, 1
302 POSTHOOK: type: QUERY
304 Stage-2 is a root stage
305 Stage-0 depends on stages: Stage-2
306 Stage-3 depends on stages: Stage-0, Stage-4, Stage-7
307 Stage-4 depends on stages: Stage-2
308 Stage-6 depends on stages: Stage-1, Stage-4, Stage-7
309 Stage-5 depends on stages: Stage-2
310 Stage-1 depends on stages: Stage-5
311 Stage-7 depends on stages: Stage-5
319 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
321 predicate: (key < 20) (type: boolean)
322 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
324 aggregations: count(DISTINCT substr(value, 5))
325 keys: key (type: string), substr(value, 5) (type: string)
327 outputColumnNames: _col0, _col1, _col2
328 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
329 Reduce Output Operator
330 key expressions: _col0 (type: string), _col1 (type: string)
332 Map-reduce partition columns: _col0 (type: string)
333 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
335 predicate: (key < 20) (type: boolean)
336 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
338 aggregations: count(DISTINCT substr(value, 5))
339 keys: value (type: string), key (type: string), substr(value, 5) (type: string)
341 outputColumnNames: _col0, _col1, _col2, _col3
342 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
346 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
347 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
348 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
349 Reduce Operator Tree:
351 aggregations: count(DISTINCT KEY._col1:0._col0)
352 keys: KEY._col0 (type: string)
354 outputColumnNames: _col0, _col1
355 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
357 expressions: UDFToInteger(_col0) (type: int), UDFToString(_col1) (type: string)
358 outputColumnNames: _col0, _col1
359 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
362 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
364 input format: org.apache.hadoop.mapred.TextInputFormat
365 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
366 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
367 name: default.testtable1
369 expressions: _col0 (type: int), _col1 (type: string)
370 outputColumnNames: key, value
371 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
373 aggregations: compute_stats(key, 'hll'), compute_stats(value, 'hll')
375 outputColumnNames: _col0, _col1
376 Statistics: Num rows: 1 Data size: 872 Basic stats: COMPLETE Column stats: NONE
380 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
381 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
382 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
389 input format: org.apache.hadoop.mapred.TextInputFormat
390 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
391 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
392 name: default.testtable1
399 Column Types: int, string
400 Table: default.testtable1
406 Reduce Output Operator
408 Statistics: Num rows: 1 Data size: 872 Basic stats: COMPLETE Column stats: NONE
409 value expressions: _col0 (type: struct<columntype:string,min:bigint,max:bigint,countnulls:bigint,bitvector:binary>), _col1 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>)
410 Reduce Operator Tree:
412 aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1)
414 outputColumnNames: _col0, _col1
415 Statistics: Num rows: 1 Data size: 888 Basic stats: COMPLETE Column stats: NONE
418 Statistics: Num rows: 1 Data size: 888 Basic stats: COMPLETE Column stats: NONE
420 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
421 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
422 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
428 Columns: key, val1, val2
429 Column Types: int, string, string
430 Table: default.testtable2
436 Reduce Output Operator
437 key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string)
439 Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
440 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
441 Reduce Operator Tree:
443 aggregations: count(DISTINCT KEY._col2:0._col0)
444 keys: KEY._col0 (type: string), KEY._col1 (type: string)
446 outputColumnNames: _col0, _col1, _col2
447 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
449 expressions: UDFToInteger(_col1) (type: int), _col0 (type: string), UDFToString(_col2) (type: string)
450 outputColumnNames: _col0, _col1, _col2
451 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
454 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
456 input format: org.apache.hadoop.mapred.TextInputFormat
457 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
458 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
459 name: default.testtable2
461 expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string)
462 outputColumnNames: key, val1, val2
463 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
465 aggregations: compute_stats(key, 'hll'), compute_stats(val1, 'hll'), compute_stats(val2, 'hll')
467 outputColumnNames: _col0, _col1, _col2
468 Statistics: Num rows: 1 Data size: 1312 Basic stats: COMPLETE Column stats: NONE
472 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
473 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
474 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
481 input format: org.apache.hadoop.mapred.TextInputFormat
482 output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
483 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
484 name: default.testtable2
490 Reduce Output Operator
492 Statistics: Num rows: 1 Data size: 1312 Basic stats: COMPLETE Column stats: NONE
493 value expressions: _col0 (type: struct<columntype:string,min:bigint,max:bigint,countnulls:bigint,bitvector:binary>), _col1 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>), _col2 (type: struct<columntype:string,maxlength:bigint,sumlength:bigint,count:bigint,countnulls:bigint,bitvector:binary>)
494 Reduce Operator Tree:
496 aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1), compute_stats(VALUE._col2)
498 outputColumnNames: _col0, _col1, _col2
499 Statistics: Num rows: 1 Data size: 1328 Basic stats: COMPLETE Column stats: NONE
502 Statistics: Num rows: 1 Data size: 1328 Basic stats: COMPLETE Column stats: NONE
504 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
505 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
506 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
508 PREHOOK: query: FROM SRC
509 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
510 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 2, 1
512 PREHOOK: Input: default@src
513 PREHOOK: Output: default@testtable1
514 PREHOOK: Output: default@testtable2
515 POSTHOOK: query: FROM SRC
516 INSERT OVERWRITE TABLE testTable1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 1
517 INSERT OVERWRITE TABLE testTable2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) WHERE SRC.key < 20 GROUP BY 2, 1
518 POSTHOOK: type: QUERY
519 POSTHOOK: Input: default@src
520 POSTHOOK: Output: default@testtable1
521 POSTHOOK: Output: default@testtable2
522 POSTHOOK: Lineage: testtable1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
523 POSTHOOK: Lineage: testtable1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
524 POSTHOOK: Lineage: testtable2.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
525 POSTHOOK: Lineage: testtable2.val1 SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
526 POSTHOOK: Lineage: testtable2.val2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
527 PREHOOK: query: SELECT key, value FROM testTable1 ORDER BY 1, 2
529 PREHOOK: Input: default@testtable1
530 #### A masked pattern was here ####
531 POSTHOOK: query: SELECT key, value FROM testTable1 ORDER BY 1, 2
532 POSTHOOK: type: QUERY
533 POSTHOOK: Input: default@testtable1
534 #### A masked pattern was here ####
548 PREHOOK: query: SELECT key, val1, val2 FROM testTable2 ORDER BY 1, 2, 3
550 PREHOOK: Input: default@testtable2
551 #### A masked pattern was here ####
552 POSTHOOK: query: SELECT key, val1, val2 FROM testTable2 ORDER BY 1, 2, 3
553 POSTHOOK: type: QUERY
554 POSTHOOK: Input: default@testtable2
555 #### A masked pattern was here ####
569 PREHOOK: query: EXPLAIN
570 SELECT t.key, t.value
571 FROM (SELECT b.key as key, count(1) as value FROM src b WHERE b.key <= 20 GROUP BY 1) t
572 ORDER BY 2 DESC, 1 ASC
574 POSTHOOK: query: EXPLAIN
575 SELECT t.key, t.value
576 FROM (SELECT b.key as key, count(1) as value FROM src b WHERE b.key <= 20 GROUP BY 1) t
577 ORDER BY 2 DESC, 1 ASC
578 POSTHOOK: type: QUERY
580 Stage-1 is a root stage
581 Stage-2 depends on stages: Stage-1
582 Stage-0 depends on stages: Stage-2
590 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
592 predicate: (UDFToDouble(key) <= 20.0D) (type: boolean)
593 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
595 aggregations: count()
596 keys: key (type: string)
598 outputColumnNames: _col0, _col1
599 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
600 Reduce Output Operator
601 key expressions: _col0 (type: string)
603 Map-reduce partition columns: _col0 (type: string)
604 Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE Column stats: NONE
605 value expressions: _col1 (type: bigint)
606 Reduce Operator Tree:
608 aggregations: count(VALUE._col0)
609 keys: KEY._col0 (type: string)
611 outputColumnNames: _col0, _col1
612 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
616 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
617 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
618 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
624 Reduce Output Operator
625 key expressions: _col1 (type: bigint), _col0 (type: string)
627 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
628 Reduce Operator Tree:
630 expressions: KEY.reducesinkkey1 (type: string), KEY.reducesinkkey0 (type: bigint)
631 outputColumnNames: _col0, _col1
632 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
635 Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE Column stats: NONE
637 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
638 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
639 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
647 PREHOOK: query: SELECT t.key, t.value
648 FROM (SELECT b.key as key, count(1) as value FROM src b WHERE b.key <= 20 GROUP BY 1) t
649 ORDER BY 2 DESC, 1 ASC
651 PREHOOK: Input: default@src
652 #### A masked pattern was here ####
653 POSTHOOK: query: SELECT t.key, t.value
654 FROM (SELECT b.key as key, count(1) as value FROM src b WHERE b.key <= 20 GROUP BY 1) t
655 ORDER BY 2 DESC, 1 ASC
656 POSTHOOK: type: QUERY
657 POSTHOOK: Input: default@src
658 #### A masked pattern was here ####
673 PREHOOK: query: EXPLAIN
674 SELECT c1, c2, c3, c4
678 FROM src src1 SELECT src1.key AS c1, src1.value AS c2, COUNT(DISTINCT SUBSTR(src1.value,5)) AS c3 WHERE src1.key > 10 and src1.key < 20 GROUP BY 1, 2
682 FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 GROUP BY 1, 2
685 SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4
687 ORDER BY 1 DESC, 2 DESC, 3 ASC, 4 ASC
689 POSTHOOK: query: EXPLAIN
690 SELECT c1, c2, c3, c4
694 FROM src src1 SELECT src1.key AS c1, src1.value AS c2, COUNT(DISTINCT SUBSTR(src1.value,5)) AS c3 WHERE src1.key > 10 and src1.key < 20 GROUP BY 1, 2
698 FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 GROUP BY 1, 2
701 SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4
703 ORDER BY 1 DESC, 2 DESC, 3 ASC, 4 ASC
704 POSTHOOK: type: QUERY
706 Stage-1 is a root stage
707 Stage-2 depends on stages: Stage-1, Stage-4
708 Stage-3 depends on stages: Stage-2
709 Stage-4 is a root stage
710 Stage-0 depends on stages: Stage-3
718 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
720 predicate: ((UDFToDouble(key) < 20.0D) and (UDFToDouble(key) > 15.0D)) (type: boolean)
721 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
723 keys: key (type: string), value (type: string)
725 outputColumnNames: _col0, _col1
726 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
727 Reduce Output Operator
728 key expressions: _col0 (type: string), _col1 (type: string)
730 Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
731 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
732 Reduce Operator Tree:
734 keys: KEY._col0 (type: string), KEY._col1 (type: string)
736 outputColumnNames: _col0, _col1
737 Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE Column stats: NONE
741 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
742 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
743 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
749 Reduce Output Operator
750 key expressions: _col0 (type: string)
752 Map-reduce partition columns: _col0 (type: string)
753 Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE Column stats: NONE
754 value expressions: _col1 (type: string)
756 Reduce Output Operator
757 key expressions: _col0 (type: string)
759 Map-reduce partition columns: _col0 (type: string)
760 Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE Column stats: NONE
761 value expressions: _col1 (type: string)
762 Reduce Operator Tree:
767 0 _col0 (type: string)
768 1 _col0 (type: string)
769 outputColumnNames: _col0, _col1, _col2, _col3
770 Statistics: Num rows: 29 Data size: 314 Basic stats: COMPLETE Column stats: NONE
774 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
775 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
776 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
782 Reduce Output Operator
783 key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string)
785 Statistics: Num rows: 29 Data size: 314 Basic stats: COMPLETE Column stats: NONE
786 Reduce Operator Tree:
788 expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string), KEY.reducesinkkey2 (type: string), KEY.reducesinkkey3 (type: string)
789 outputColumnNames: _col0, _col1, _col2, _col3
790 Statistics: Num rows: 29 Data size: 314 Basic stats: COMPLETE Column stats: NONE
793 Statistics: Num rows: 29 Data size: 314 Basic stats: COMPLETE Column stats: NONE
795 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
796 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
797 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
804 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
806 predicate: ((UDFToDouble(key) < 20.0D) and (UDFToDouble(key) > 15.0D)) (type: boolean)
807 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
809 keys: key (type: string), value (type: string)
811 outputColumnNames: _col0, _col1
812 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
813 Reduce Output Operator
814 key expressions: _col0 (type: string), _col1 (type: string)
816 Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
817 Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats: NONE
818 Reduce Operator Tree:
820 keys: KEY._col0 (type: string), KEY._col1 (type: string)
822 outputColumnNames: _col0, _col1
823 Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE Column stats: NONE
827 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
828 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
829 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
837 PREHOOK: query: SELECT c1, c2, c3, c4
841 FROM src src1 SELECT src1.key AS c1, src1.value AS c2, COUNT(DISTINCT SUBSTR(src1.value,5)) AS c3 WHERE src1.key > 10 and src1.key < 20 GROUP BY 1, 2
845 FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 GROUP BY 1, 2
848 SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4
850 ORDER BY 1 DESC, 2 DESC, 3 ASC, 4 ASC
852 PREHOOK: Input: default@src
853 #### A masked pattern was here ####
854 POSTHOOK: query: SELECT c1, c2, c3, c4
858 FROM src src1 SELECT src1.key AS c1, src1.value AS c2, COUNT(DISTINCT SUBSTR(src1.value,5)) AS c3 WHERE src1.key > 10 and src1.key < 20 GROUP BY 1, 2
862 FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 GROUP BY 1, 2
865 SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4
867 ORDER BY 1 DESC, 2 DESC, 3 ASC, 4 ASC
868 POSTHOOK: type: QUERY
869 POSTHOOK: Input: default@src
870 #### A masked pattern was here ####
874 PREHOOK: query: EXPLAIN
875 SELECT key FROM src ORDER BY 1
877 POSTHOOK: query: EXPLAIN
878 SELECT key FROM src ORDER BY 1
879 POSTHOOK: type: QUERY
881 Stage-1 is a root stage
882 Stage-0 depends on stages: Stage-1
890 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
892 expressions: key (type: string)
893 outputColumnNames: _col0
894 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
895 Reduce Output Operator
896 key expressions: _col0 (type: string)
898 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
899 Reduce Operator Tree:
901 expressions: KEY.reducesinkkey0 (type: string)
902 outputColumnNames: _col0
903 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
906 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
908 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
909 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
910 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
918 PREHOOK: query: SELECT key FROM src ORDER BY 1
920 PREHOOK: Input: default@src
921 #### A masked pattern was here ####
922 POSTHOOK: query: SELECT key FROM src ORDER BY 1
923 POSTHOOK: type: QUERY
924 POSTHOOK: Input: default@src
925 #### A masked pattern was here ####
1426 PREHOOK: query: EXPLAIN
1427 SELECT distinct key FROM src ORDER BY 1
1428 PREHOOK: type: QUERY
1429 POSTHOOK: query: EXPLAIN
1430 SELECT distinct key FROM src ORDER BY 1
1431 POSTHOOK: type: QUERY
1433 Stage-1 is a root stage
1434 Stage-2 depends on stages: Stage-1
1435 Stage-0 depends on stages: Stage-2
1443 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
1445 expressions: key (type: string)
1446 outputColumnNames: key
1447 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
1449 keys: key (type: string)
1451 outputColumnNames: _col0
1452 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
1453 Reduce Output Operator
1454 key expressions: _col0 (type: string)
1456 Map-reduce partition columns: _col0 (type: string)
1457 Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
1458 Reduce Operator Tree:
1460 keys: KEY._col0 (type: string)
1462 outputColumnNames: _col0
1463 Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
1464 File Output Operator
1467 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
1468 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
1469 serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
1475 Reduce Output Operator
1476 key expressions: _col0 (type: string)
1478 Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
1479 Reduce Operator Tree:
1481 expressions: KEY.reducesinkkey0 (type: string)
1482 outputColumnNames: _col0
1483 Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
1484 File Output Operator
1486 Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
1488 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
1489 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
1490 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
1498 PREHOOK: query: SELECT distinct key FROM src ORDER BY 1
1499 PREHOOK: type: QUERY
1500 PREHOOK: Input: default@src
1501 #### A masked pattern was here ####
1502 POSTHOOK: query: SELECT distinct key FROM src ORDER BY 1
1503 POSTHOOK: type: QUERY
1504 POSTHOOK: Input: default@src
1505 #### A masked pattern was here ####