PREHOOK: query: DROP TABLE orcfile_merge3a PREHOOK: type: DROPTABLE POSTHOOK: query: DROP TABLE orcfile_merge3a POSTHOOK: type: DROPTABLE PREHOOK: query: DROP TABLE orcfile_merge3b PREHOOK: type: DROPTABLE POSTHOOK: query: DROP TABLE orcfile_merge3b POSTHOOK: type: DROPTABLE PREHOOK: query: CREATE TABLE orcfile_merge3a (key int, value string) PARTITIONED BY (ds string) STORED AS ORC PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@orcfile_merge3a POSTHOOK: query: CREATE TABLE orcfile_merge3a (key int, value string) PARTITIONED BY (ds string) STORED AS ORC POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@orcfile_merge3a PREHOOK: query: CREATE TABLE orcfile_merge3b (key int, value string) STORED AS TEXTFILE PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@orcfile_merge3b POSTHOOK: query: CREATE TABLE orcfile_merge3b (key int, value string) STORED AS TEXTFILE POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@orcfile_merge3b PREHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='1') SELECT * FROM src PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@orcfile_merge3a@ds=1 POSTHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='1') SELECT * FROM src POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@orcfile_merge3a@ds=1 POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=1).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] Found 1 items #### A masked pattern was here #### PREHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='1') SELECT * FROM src PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@orcfile_merge3a@ds=1 POSTHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='1') SELECT * FROM src POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@orcfile_merge3a@ds=1 POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=1).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='2') SELECT * FROM src PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@orcfile_merge3a@ds=2 POSTHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3a PARTITION (ds='2') SELECT * FROM src POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@orcfile_merge3a@ds=2 POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=2).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: orcfile_merge3a PARTITION(ds=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] Found 1 items #### A masked pattern was here #### Found 1 items #### A masked pattern was here #### PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE orcfile_merge3b SELECT key, value FROM orcfile_merge3a PREHOOK: type: QUERY POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE orcfile_merge3b SELECT key, value FROM orcfile_merge3a POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage Stage-2 depends on stages: Stage-1 Stage-0 depends on stages: Stage-2 Stage-3 depends on stages: Stage-0 STAGE PLANS: Stage: Stage-1 Tez #### A masked pattern was here #### Vertices: Map 1 Map Operator Tree: TableScan alias: orcfile_merge3a Statistics: Num rows: 1000 Data size: 94000 Basic stats: COMPLETE Column stats: NONE Select Operator expressions: key (type: int), value (type: string) outputColumnNames: _col0, _col1 Statistics: Num rows: 1000 Data size: 94000 Basic stats: COMPLETE Column stats: NONE File Output Operator compressed: false Statistics: Num rows: 1000 Data size: 94000 Basic stats: COMPLETE Column stats: NONE table: input format: org.apache.hadoop.mapred.TextInputFormat output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe name: default.orcfile_merge3b Stage: Stage-2 Dependency Collection Stage: Stage-0 Move Operator tables: replace: true table: input format: org.apache.hadoop.mapred.TextInputFormat output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe name: default.orcfile_merge3b Stage: Stage-3 Stats-Aggr Operator PREHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3b SELECT key, value FROM orcfile_merge3a PREHOOK: type: QUERY PREHOOK: Input: default@orcfile_merge3a PREHOOK: Input: default@orcfile_merge3a@ds=1 PREHOOK: Input: default@orcfile_merge3a@ds=2 PREHOOK: Output: default@orcfile_merge3b POSTHOOK: query: INSERT OVERWRITE TABLE orcfile_merge3b SELECT key, value FROM orcfile_merge3a POSTHOOK: type: QUERY POSTHOOK: Input: default@orcfile_merge3a POSTHOOK: Input: default@orcfile_merge3a@ds=1 POSTHOOK: Input: default@orcfile_merge3a@ds=2 POSTHOOK: Output: default@orcfile_merge3b POSTHOOK: Lineage: orcfile_merge3b.key SIMPLE [(orcfile_merge3a)orcfile_merge3a.FieldSchema(name:key, type:int, comment:null), ] POSTHOOK: Lineage: orcfile_merge3b.value SIMPLE [(orcfile_merge3a)orcfile_merge3a.FieldSchema(name:value, type:string, comment:null), ] PREHOOK: query: SELECT SUM(HASH(c)) FROM ( SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) FROM orcfile_merge3a ) t PREHOOK: type: QUERY PREHOOK: Input: default@orcfile_merge3a PREHOOK: Input: default@orcfile_merge3a@ds=1 PREHOOK: Input: default@orcfile_merge3a@ds=2 #### A masked pattern was here #### POSTHOOK: query: SELECT SUM(HASH(c)) FROM ( SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) FROM orcfile_merge3a ) t POSTHOOK: type: QUERY POSTHOOK: Input: default@orcfile_merge3a POSTHOOK: Input: default@orcfile_merge3a@ds=1 POSTHOOK: Input: default@orcfile_merge3a@ds=2 #### A masked pattern was here #### 14412220296 PREHOOK: query: SELECT SUM(HASH(c)) FROM ( SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) FROM orcfile_merge3b ) t PREHOOK: type: QUERY PREHOOK: Input: default@orcfile_merge3b #### A masked pattern was here #### POSTHOOK: query: SELECT SUM(HASH(c)) FROM ( SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) FROM orcfile_merge3b ) t POSTHOOK: type: QUERY POSTHOOK: Input: default@orcfile_merge3b #### A masked pattern was here #### 14412220296 PREHOOK: query: DROP TABLE orcfile_merge3a PREHOOK: type: DROPTABLE PREHOOK: Input: default@orcfile_merge3a PREHOOK: Output: default@orcfile_merge3a POSTHOOK: query: DROP TABLE orcfile_merge3a POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@orcfile_merge3a POSTHOOK: Output: default@orcfile_merge3a PREHOOK: query: DROP TABLE orcfile_merge3b PREHOOK: type: DROPTABLE PREHOOK: Input: default@orcfile_merge3b PREHOOK: Output: default@orcfile_merge3b POSTHOOK: query: DROP TABLE orcfile_merge3b POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@orcfile_merge3b POSTHOOK: Output: default@orcfile_merge3b