PREHOOK: query: create table dest32(a int) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@dest32 POSTHOOK: query: create table dest32(a int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@dest32 PREHOOK: query: create table tst_dest32(a int) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@tst_dest32 POSTHOOK: query: create table tst_dest32(a int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@tst_dest32 PREHOOK: query: explain insert overwrite table dest32 select count(1) from srcbucket PREHOOK: type: QUERY POSTHOOK: query: explain insert overwrite table dest32 select count(1) from srcbucket POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage Stage-0 depends on stages: Stage-1 Stage-2 depends on stages: Stage-0 STAGE PLANS: Stage: Stage-1 Map Reduce Map Operator Tree: TableScan alias: srcbucket Statistics: Num rows: 1000 Data size: 10603 Basic stats: COMPLETE Column stats: COMPLETE Select Operator Statistics: Num rows: 1000 Data size: 10603 Basic stats: COMPLETE Column stats: COMPLETE Group By Operator aggregations: count(1) mode: hash outputColumnNames: _col0 Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE Reduce Output Operator sort order: Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE value expressions: _col0 (type: bigint) Reduce Operator Tree: Group By Operator aggregations: count(VALUE._col0) mode: mergepartial outputColumnNames: _col0 Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE Select Operator expressions: UDFToInteger(_col0) (type: int) outputColumnNames: _col0 Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE File Output Operator compressed: false Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE 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.tst_dest32 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.tst_dest32 Stage: Stage-2 Stats-Aggr Operator PREHOOK: query: insert overwrite table dest32 select count(1) from srcbucket PREHOOK: type: QUERY PREHOOK: Input: default@srcbucket PREHOOK: Output: default@tst_dest32 POSTHOOK: query: insert overwrite table dest32 select count(1) from srcbucket POSTHOOK: type: QUERY POSTHOOK: Input: default@srcbucket POSTHOOK: Output: default@tst_dest32 POSTHOOK: Lineage: tst_dest32.a EXPRESSION [] PREHOOK: query: select * from tst_dest32 PREHOOK: type: QUERY PREHOOK: Input: default@tst_dest32 #### A masked pattern was here #### POSTHOOK: query: select * from tst_dest32 POSTHOOK: type: QUERY POSTHOOK: Input: default@tst_dest32 #### A masked pattern was here #### 1000