PREHOOK: query: create table src_rc_merge_test_stat(key int, value string) stored as rcfile PREHOOK: type: CREATETABLE POSTHOOK: query: create table src_rc_merge_test_stat(key int, value string) stored as rcfile POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_stat PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_stat POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_stat PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_stat POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_stat PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_stat POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: show table extended like `src_rc_merge_test_stat` PREHOOK: type: SHOW_TABLESTATUS POSTHOOK: query: show table extended like `src_rc_merge_test_stat` POSTHOOK: type: SHOW_TABLESTATUS tableName:src_rc_merge_test_stat owner:sohanjain location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_stat inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat columns:struct columns { i32 key, string value} partitioned:false partitionColumns: totalNumberFiles:3 totalFileSize:636 maxFileSize:222 minFileSize:206 lastAccessTime:0 lastUpdateTime:1312480936000 PREHOOK: query: desc extended src_rc_merge_test_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_stat POSTHOOK: type: DESCTABLE key int value string Detailed Table Information Table(tableName:src_rc_merge_test_stat, dbName:default, owner:sohanjain, createTime:1312480934, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[], parameters:{transient_lastDdlTime=1312480936}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: analyze table src_rc_merge_test_stat compute statistics PREHOOK: type: QUERY PREHOOK: Input: default@src_rc_merge_test_stat PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: analyze table src_rc_merge_test_stat compute statistics POSTHOOK: type: QUERY POSTHOOK: Input: default@src_rc_merge_test_stat POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: desc extended src_rc_merge_test_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_stat POSTHOOK: type: DESCTABLE key int value string Detailed Table Information Table(tableName:src_rc_merge_test_stat, dbName:default, owner:sohanjain, createTime:1312480934, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[], parameters:{numPartitions=0, numFiles=3, transient_lastDdlTime=1312480940, numRows=15, totalSize=636, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: alter table src_rc_merge_test_stat concatenate PREHOOK: type: ALTER_TABLE_MERGE PREHOOK: Input: default@src_rc_merge_test_stat PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: alter table src_rc_merge_test_stat concatenate POSTHOOK: type: ALTER_TABLE_MERGE POSTHOOK: Input: default@src_rc_merge_test_stat POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: show table extended like `src_rc_merge_test_stat` PREHOOK: type: SHOW_TABLESTATUS POSTHOOK: query: show table extended like `src_rc_merge_test_stat` POSTHOOK: type: SHOW_TABLESTATUS tableName:src_rc_merge_test_stat owner:sohanjain location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_stat inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat columns:struct columns { i32 key, string value} partitioned:false partitionColumns: totalNumberFiles:1 totalFileSize:334 maxFileSize:334 minFileSize:334 lastAccessTime:0 lastUpdateTime:1312480942000 PREHOOK: query: desc extended src_rc_merge_test_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_stat POSTHOOK: type: DESCTABLE key int value string Detailed Table Information Table(tableName:src_rc_merge_test_stat, dbName:default, owner:sohanjain, createTime:1312480934, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=1312480942, numRows=15, totalSize=334, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: create table src_rc_merge_test_part_stat(key int, value string) partitioned by (ds string) stored as rcfile PREHOOK: type: CREATETABLE POSTHOOK: query: create table src_rc_merge_test_part_stat(key int, value string) partitioned by (ds string) stored as rcfile POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@src_rc_merge_test_part_stat PREHOOK: query: alter table src_rc_merge_test_part_stat add partition (ds='2011') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Input: default@src_rc_merge_test_part_stat POSTHOOK: query: alter table src_rc_merge_test_part_stat add partition (ds='2011') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Input: default@src_rc_merge_test_part_stat POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_part_stat partition (ds='2011') PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: query: load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_part_stat partition (ds='2011') POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_part_stat partition (ds='2011') PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: query: load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_part_stat partition (ds='2011') POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_part_stat partition (ds='2011') PREHOOK: type: LOAD PREHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: query: load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_part_stat partition (ds='2011') POSTHOOK: type: LOAD POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: show table extended like `src_rc_merge_test_part_stat` partition (ds='2011') PREHOOK: type: SHOW_TABLESTATUS POSTHOOK: query: show table extended like `src_rc_merge_test_part_stat` partition (ds='2011') POSTHOOK: type: SHOW_TABLESTATUS tableName:src_rc_merge_test_part_stat owner:sohanjain location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_part_stat/ds=2011 inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat columns:struct columns { i32 key, string value} partitioned:true partitionColumns:struct partition_columns { string ds} totalNumberFiles:3 totalFileSize:636 maxFileSize:222 minFileSize:206 lastAccessTime:0 lastUpdateTime:1312480944000 PREHOOK: query: desc extended src_rc_merge_test_part_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_part_stat POSTHOOK: type: DESCTABLE key int value string ds string Detailed Table Information Table(tableName:src_rc_merge_test_part_stat, dbName:default, owner:sohanjain, createTime:1312480943, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_part_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{transient_lastDdlTime=1312480943}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: analyze table src_rc_merge_test_part_stat partition(ds='2011') compute statistics PREHOOK: type: QUERY PREHOOK: Input: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: Output: default@src_rc_merge_test_part_stat PREHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: query: analyze table src_rc_merge_test_part_stat partition(ds='2011') compute statistics POSTHOOK: type: QUERY POSTHOOK: Input: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: Output: default@src_rc_merge_test_part_stat POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: desc extended src_rc_merge_test_part_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_part_stat POSTHOOK: type: DESCTABLE key int value string ds string Detailed Table Information Table(tableName:src_rc_merge_test_part_stat, dbName:default, owner:sohanjain, createTime:1312480943, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_part_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=3, transient_lastDdlTime=1312480949, numRows=15, totalSize=636, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: alter table src_rc_merge_test_part_stat partition (ds='2011') concatenate PREHOOK: type: ALTER_PARTITION_MERGE PREHOOK: Input: default@src_rc_merge_test_part_stat PREHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 POSTHOOK: query: alter table src_rc_merge_test_part_stat partition (ds='2011') concatenate POSTHOOK: type: ALTER_PARTITION_MERGE POSTHOOK: Input: default@src_rc_merge_test_part_stat POSTHOOK: Output: default@src_rc_merge_test_part_stat@ds=2011 PREHOOK: query: show table extended like `src_rc_merge_test_part_stat` partition (ds='2011') PREHOOK: type: SHOW_TABLESTATUS POSTHOOK: query: show table extended like `src_rc_merge_test_part_stat` partition (ds='2011') POSTHOOK: type: SHOW_TABLESTATUS tableName:src_rc_merge_test_part_stat owner:sohanjain location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_part_stat/ds=2011 inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat columns:struct columns { i32 key, string value} partitioned:true partitionColumns:struct partition_columns { string ds} totalNumberFiles:1 totalFileSize:334 maxFileSize:334 minFileSize:334 lastAccessTime:0 lastUpdateTime:1312480951000 PREHOOK: query: desc extended src_rc_merge_test_part_stat PREHOOK: type: DESCTABLE POSTHOOK: query: desc extended src_rc_merge_test_part_stat POSTHOOK: type: DESCTABLE key int value string ds string Detailed Table Information Table(tableName:src_rc_merge_test_part_stat, dbName:default, owner:sohanjain, createTime:1312480943, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:pfile:/data/users/sohanjain/test_builds/hive_2338/apache-hive/build/ql/test/data/warehouse/src_rc_merge_test_part_stat, inputFormat:org.apache.hadoop.hive.ql.io.RCFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, transient_lastDdlTime=1312480951, numRows=15, totalSize=334, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE) PREHOOK: query: drop table src_rc_merge_test_stat PREHOOK: type: DROPTABLE PREHOOK: Input: default@src_rc_merge_test_stat PREHOOK: Output: default@src_rc_merge_test_stat POSTHOOK: query: drop table src_rc_merge_test_stat POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@src_rc_merge_test_stat POSTHOOK: Output: default@src_rc_merge_test_stat PREHOOK: query: drop table src_rc_merge_test_part_stat PREHOOK: type: DROPTABLE PREHOOK: Input: default@src_rc_merge_test_part_stat PREHOOK: Output: default@src_rc_merge_test_part_stat POSTHOOK: query: drop table src_rc_merge_test_part_stat POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@src_rc_merge_test_part_stat POSTHOOK: Output: default@src_rc_merge_test_part_stat