PREHOOK: query: -- SORT_QUERY_RESULTS create table srcpart_merge_dp like srcpart PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@srcpart_merge_dp POSTHOOK: query: -- SORT_QUERY_RESULTS create table srcpart_merge_dp like srcpart POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@srcpart_merge_dp PREHOOK: query: create table merge_dynamic_part like srcpart PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@merge_dynamic_part POSTHOOK: query: create table merge_dynamic_part like srcpart POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@merge_dynamic_part PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=11 PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-08/hr=12 PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=11 PREHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=11 POSTHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=11 PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=12 PREHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12) PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=12 POSTHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12) POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@srcpart_merge_dp@ds=2008-04-09/hr=12 PREHOOK: query: show partitions srcpart_merge_dp PREHOOK: type: SHOWPARTITIONS PREHOOK: Input: default@srcpart_merge_dp POSTHOOK: query: show partitions srcpart_merge_dp POSTHOOK: type: SHOWPARTITIONS POSTHOOK: Input: default@srcpart_merge_dp ds=2008-04-08/hr=11 ds=2008-04-08/hr=12 ds=2008-04-09/hr=11 ds=2008-04-09/hr=12 PREHOOK: query: explain insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08' PREHOOK: type: QUERY POSTHOOK: query: explain insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08' POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage Stage-7 depends on stages: Stage-1 , consists of Stage-4, Stage-3, Stage-5 Stage-4 Stage-0 depends on stages: Stage-4, Stage-3, Stage-6 Stage-2 depends on stages: Stage-0 Stage-3 Stage-5 Stage-6 depends on stages: Stage-5 STAGE PLANS: Stage: Stage-1 Map Reduce Map Operator Tree: TableScan alias: srcpart_merge_dp Statistics: Num rows: 174 Data size: 34830 Basic stats: COMPLETE Column stats: NONE Select Operator expressions: key (type: string), value (type: string), ds (type: string), hr (type: string) outputColumnNames: _col0, _col1, _col2, _col3 Statistics: Num rows: 174 Data size: 34830 Basic stats: COMPLETE Column stats: NONE File Output Operator compressed: false Statistics: Num rows: 174 Data size: 34830 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.merge_dynamic_part Stage: Stage-7 Conditional Operator Stage: Stage-4 Move Operator files: hdfs directory: true #### A masked pattern was here #### Stage: Stage-0 Move Operator tables: partition: ds hr 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.merge_dynamic_part Stage: Stage-2 Stats-Aggr Operator Stage: Stage-3 Map Reduce Map Operator Tree: TableScan File Output Operator compressed: false 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.merge_dynamic_part Stage: Stage-5 Map Reduce Map Operator Tree: TableScan File Output Operator compressed: false 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.merge_dynamic_part Stage: Stage-6 Move Operator files: hdfs directory: true #### A masked pattern was here #### PREHOOK: query: insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08' PREHOOK: type: QUERY PREHOOK: Input: default@srcpart_merge_dp PREHOOK: Input: default@srcpart_merge_dp@ds=2008-04-08/hr=11 PREHOOK: Input: default@srcpart_merge_dp@ds=2008-04-08/hr=12 PREHOOK: Input: default@srcpart_merge_dp@ds=2008-04-09/hr=11 PREHOOK: Input: default@srcpart_merge_dp@ds=2008-04-09/hr=12 PREHOOK: Output: default@merge_dynamic_part POSTHOOK: query: insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08' POSTHOOK: type: QUERY POSTHOOK: Input: default@srcpart_merge_dp POSTHOOK: Input: default@srcpart_merge_dp@ds=2008-04-08/hr=11 POSTHOOK: Input: default@srcpart_merge_dp@ds=2008-04-08/hr=12 POSTHOOK: Input: default@srcpart_merge_dp@ds=2008-04-09/hr=11 POSTHOOK: Input: default@srcpart_merge_dp@ds=2008-04-09/hr=12 POSTHOOK: Output: default@merge_dynamic_part@ds=2008-04-08/hr=11 POSTHOOK: Output: default@merge_dynamic_part@ds=2008-04-08/hr=12 POSTHOOK: Output: default@merge_dynamic_part@ds=2008-04-09/hr=11 POSTHOOK: Output: default@merge_dynamic_part@ds=2008-04-09/hr=12 POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-09,hr=11).key SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-09,hr=11).value SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-09,hr=12).key SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: merge_dynamic_part PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart_merge_dp)srcpart_merge_dp.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: select ds, hr, count(1) from merge_dynamic_part where ds>='2008-04-08' group by ds, hr PREHOOK: type: QUERY PREHOOK: Input: default@merge_dynamic_part PREHOOK: Input: default@merge_dynamic_part@ds=2008-04-08/hr=11 PREHOOK: Input: default@merge_dynamic_part@ds=2008-04-08/hr=12 PREHOOK: Input: default@merge_dynamic_part@ds=2008-04-09/hr=11 PREHOOK: Input: default@merge_dynamic_part@ds=2008-04-09/hr=12 #### A masked pattern was here #### POSTHOOK: query: select ds, hr, count(1) from merge_dynamic_part where ds>='2008-04-08' group by ds, hr POSTHOOK: type: QUERY POSTHOOK: Input: default@merge_dynamic_part POSTHOOK: Input: default@merge_dynamic_part@ds=2008-04-08/hr=11 POSTHOOK: Input: default@merge_dynamic_part@ds=2008-04-08/hr=12 POSTHOOK: Input: default@merge_dynamic_part@ds=2008-04-09/hr=11 POSTHOOK: Input: default@merge_dynamic_part@ds=2008-04-09/hr=12 #### A masked pattern was here #### 2008-04-08 11 500 2008-04-08 12 500 2008-04-09 11 1000 2008-04-09 12 1000 PREHOOK: query: show table extended like `merge_dynamic_part` PREHOOK: type: SHOW_TABLESTATUS POSTHOOK: query: show table extended like `merge_dynamic_part` POSTHOOK: type: SHOW_TABLESTATUS tableName:merge_dynamic_part #### A masked pattern was here #### inputformat:org.apache.hadoop.mapred.TextInputFormat outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat columns:struct columns { string key, string value} partitioned:true partitionColumns:struct partition_columns { string ds, string hr} totalNumberFiles:6 totalFileSize:34830 maxFileSize:5812 minFileSize:5791 #### A masked pattern was here ####