|
| 1 | +PREHOOK: query: CREATE TABLE tbl (foid string, part string, id string) CLUSTERED BY (id, part) INTO 64 BUCKETS |
| 2 | +PREHOOK: type: CREATETABLE |
| 3 | +PREHOOK: Output: database:default |
| 4 | +PREHOOK: Output: default@tbl |
| 5 | +POSTHOOK: query: CREATE TABLE tbl (foid string, part string, id string) CLUSTERED BY (id, part) INTO 64 BUCKETS |
| 6 | +POSTHOOK: type: CREATETABLE |
| 7 | +POSTHOOK: Output: database:default |
| 8 | +POSTHOOK: Output: default@tbl |
| 9 | +PREHOOK: query: INSERT INTO tbl VALUES ('1234', 'PART_123', '1'), ('1235', 'PART_124', '2') |
| 10 | +PREHOOK: type: QUERY |
| 11 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 12 | +PREHOOK: Output: default@tbl |
| 13 | +POSTHOOK: query: INSERT INTO tbl VALUES ('1234', 'PART_123', '1'), ('1235', 'PART_124', '2') |
| 14 | +POSTHOOK: type: QUERY |
| 15 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 16 | +POSTHOOK: Output: default@tbl |
| 17 | +POSTHOOK: Lineage: tbl.foid SCRIPT [] |
| 18 | +POSTHOOK: Lineage: tbl.id SCRIPT [] |
| 19 | +POSTHOOK: Lineage: tbl.part SCRIPT [] |
| 20 | +PREHOOK: query: EXPLAIN |
| 21 | +SELECT * FROM tbl JOIN tbl tbl2 ON tbl.id = tbl2.id AND tbl.part = tbl2.part |
| 22 | +PREHOOK: type: QUERY |
| 23 | +PREHOOK: Input: default@tbl |
| 24 | +#### A masked pattern was here #### |
| 25 | +POSTHOOK: query: EXPLAIN |
| 26 | +SELECT * FROM tbl JOIN tbl tbl2 ON tbl.id = tbl2.id AND tbl.part = tbl2.part |
| 27 | +POSTHOOK: type: QUERY |
| 28 | +POSTHOOK: Input: default@tbl |
| 29 | +#### A masked pattern was here #### |
| 30 | +STAGE DEPENDENCIES: |
| 31 | + Stage-1 is a root stage |
| 32 | + Stage-0 depends on stages: Stage-1 |
| 33 | + |
| 34 | +STAGE PLANS: |
| 35 | + Stage: Stage-1 |
| 36 | + Tez |
| 37 | +#### A masked pattern was here #### |
| 38 | + Edges: |
| 39 | + Map 1 <- Map 2 (CUSTOM_EDGE) |
| 40 | +#### A masked pattern was here #### |
| 41 | + Vertices: |
| 42 | + Map 1 |
| 43 | + Map Operator Tree: |
| 44 | + TableScan |
| 45 | + alias: tbl |
| 46 | + filterExpr: (id is not null and part is not null) (type: boolean) |
| 47 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 48 | + Filter Operator |
| 49 | + predicate: (id is not null and part is not null) (type: boolean) |
| 50 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 51 | + Select Operator |
| 52 | + expressions: foid (type: string), part (type: string), id (type: string) |
| 53 | + outputColumnNames: _col0, _col1, _col2 |
| 54 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 55 | + Map Join Operator |
| 56 | + condition map: |
| 57 | + Inner Join 0 to 1 |
| 58 | + keys: |
| 59 | + 0 _col1 (type: string), _col2 (type: string) |
| 60 | + 1 _col1 (type: string), _col2 (type: string) |
| 61 | + outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5 |
| 62 | + input vertices: |
| 63 | + 1 Map 2 |
| 64 | + Statistics: Num rows: 2 Data size: 1060 Basic stats: COMPLETE Column stats: COMPLETE |
| 65 | + File Output Operator |
| 66 | + compressed: false |
| 67 | + Statistics: Num rows: 2 Data size: 1060 Basic stats: COMPLETE Column stats: COMPLETE |
| 68 | + table: |
| 69 | + input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| 70 | + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| 71 | + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe |
| 72 | + Execution mode: vectorized, llap |
| 73 | + LLAP IO: all inputs |
| 74 | + Map 2 |
| 75 | + Map Operator Tree: |
| 76 | + TableScan |
| 77 | + alias: tbl2 |
| 78 | + filterExpr: (id is not null and part is not null) (type: boolean) |
| 79 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 80 | + Filter Operator |
| 81 | + predicate: (id is not null and part is not null) (type: boolean) |
| 82 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 83 | + Select Operator |
| 84 | + expressions: foid (type: string), part (type: string), id (type: string) |
| 85 | + outputColumnNames: _col0, _col1, _col2 |
| 86 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 87 | + Reduce Output Operator |
| 88 | + key expressions: _col1 (type: string), _col2 (type: string) |
| 89 | + null sort order: zz |
| 90 | + sort order: ++ |
| 91 | + Map-reduce partition columns: _col2 (type: string), _col1 (type: string) |
| 92 | + Statistics: Num rows: 2 Data size: 530 Basic stats: COMPLETE Column stats: COMPLETE |
| 93 | + value expressions: _col0 (type: string) |
| 94 | + Execution mode: vectorized, llap |
| 95 | + LLAP IO: all inputs |
| 96 | + |
| 97 | + Stage: Stage-0 |
| 98 | + Fetch Operator |
| 99 | + limit: -1 |
| 100 | + Processor Tree: |
| 101 | + ListSink |
| 102 | + |
| 103 | +PREHOOK: query: SELECT * FROM tbl JOIN tbl tbl2 ON tbl.id = tbl2.id AND tbl.part = tbl2.part |
| 104 | +PREHOOK: type: QUERY |
| 105 | +PREHOOK: Input: default@tbl |
| 106 | +#### A masked pattern was here #### |
| 107 | +POSTHOOK: query: SELECT * FROM tbl JOIN tbl tbl2 ON tbl.id = tbl2.id AND tbl.part = tbl2.part |
| 108 | +POSTHOOK: type: QUERY |
| 109 | +POSTHOOK: Input: default@tbl |
| 110 | +#### A masked pattern was here #### |
| 111 | +1234 PART_123 1 1234 PART_123 1 |
| 112 | +1235 PART_124 2 1235 PART_124 2 |
0 commit comments