PREHOOK: query: create table stats_part like srcpart PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@stats_part POSTHOOK: query: create table stats_part like srcpart POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@stats_part PREHOOK: query: insert overwrite table stats_part partition (ds='2010-04-08', hr = '13') select key, value from src PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@stats_part@ds=2010-04-08/hr=13 POSTHOOK: query: insert overwrite table stats_part partition (ds='2010-04-08', hr = '13') select key, value from src POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@stats_part@ds=2010-04-08/hr=13 POSTHOOK: Lineage: stats_part PARTITION(ds=2010-04-08,hr=13).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: stats_part PARTITION(ds=2010-04-08,hr=13).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: -- Load a file into a existing partition -- Some stats (numFiles, totalSize) should be updated correctly -- Some other stats (numRows, rawDataSize) should be cleared desc formatted stats_part partition (ds='2010-04-08', hr='13') PREHOOK: type: DESCTABLE PREHOOK: Input: default@stats_part POSTHOOK: query: -- Load a file into a existing partition -- Some stats (numFiles, totalSize) should be updated correctly -- Some other stats (numRows, rawDataSize) should be cleared desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment key string default value string default # Partition Information # col_name data_type comment ds string hr string # Detailed Partition Information Partition Value: [2010-04-08, 13] Database: default Table: stats_part #### A masked pattern was here #### Protect Mode: None #### A masked pattern was here #### Partition Parameters: COLUMN_STATS_ACCURATE true numFiles 1 numRows 500 rawDataSize 5312 totalSize 5812 #### A masked pattern was here #### # Storage Information SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe InputFormat: org.apache.hadoop.mapred.TextInputFormat OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat Compressed: No Num Buckets: -1 Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE stats_part partition (ds='2010-04-08', hr='13') PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@stats_part@ds=2010-04-08/hr=13 POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@stats_part@ds=2010-04-08/hr=13 PREHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') PREHOOK: type: DESCTABLE PREHOOK: Input: default@stats_part POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment key string default value string default # Partition Information # col_name data_type comment ds string hr string # Detailed Partition Information Partition Value: [2010-04-08, 13] Database: default Table: stats_part #### A masked pattern was here #### Protect Mode: None #### A masked pattern was here #### Partition Parameters: COLUMN_STATS_ACCURATE true numFiles 2 numRows 0 rawDataSize 0 totalSize 7170 #### A masked pattern was here #### # Storage Information SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe InputFormat: org.apache.hadoop.mapred.TextInputFormat OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat Compressed: No Num Buckets: -1 Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 PREHOOK: query: drop table stats_src PREHOOK: type: DROPTABLE POSTHOOK: query: drop table stats_src POSTHOOK: type: DROPTABLE PREHOOK: query: drop table stats_part PREHOOK: type: DROPTABLE PREHOOK: Input: default@stats_part PREHOOK: Output: default@stats_part POSTHOOK: query: drop table stats_part POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@stats_part POSTHOOK: Output: default@stats_part